Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to run loacally #147

Open
Ulf3000 opened this issue Jan 19, 2019 · 7 comments
Open

try to run loacally #147

Ulf3000 opened this issue Jan 19, 2019 · 7 comments

Comments

@Ulf3000
Copy link

Ulf3000 commented Jan 19, 2019

i tried to run loacally , this is the error i get

Traceback (most recent call last):
  File "server.py", line 165, in <module>
    painter = cgi_exe.Painter(gpu=args.gpu)
  File "./cgi-bin/paint_x2_unet\cgi_exe.py", line 41, in __init__
    cuda.get_device(self.gpu).use()
  File "C:\Users\Ulf3000\Miniconda3\lib\site-packages\chainer\backends\cuda.py",
 line 226, in get_device
    return _get_device(*args)
  File "C:\Users\Ulf3000\Miniconda3\lib\site-packages\chainer\backends\cuda.py",
 line 232, in _get_device
    check_cuda_available()
  File "C:\Users\Ulf3000\Miniconda3\lib\site-packages\chainer\backends\cuda.py",
 line 93, in check_cuda_available
    raise RuntimeError(msg)
RuntimeError: CUDA environment is not correctly set up
(see https://github.com/chainer/chainer#installation).No module named 'cupyx.sci
py'

CUDA environment is not correctly set up...

i can run styles2paint correctly no problem, so tensorflow gpu works correctly ...

cuda toolkit 10 is installed correctly , cudnn should be installed correctly(i copied the files to cuda toolkit nothing more! )

must i set new environment variables for cudnn or something ?
or is there another problem ?

my graphics card is a 960gtx , windows 8.1

@Ulf3000
Copy link
Author

Ulf3000 commented Jan 20, 2019

ok i got it now ,

installed cuda 9.0 and cudnn 7.4 for cuda 9.0

then i also had to

pip install cupy-cuda90

then the gpu (960gtx) is activated correctly

now im getting the "Windows Kit not assigned" error , seems like im missing visual c++ build tools 2015

but that one cannot be downloaded anymore , only the 2017 version is available !

can i install the 2017 version and be good ??? or not ( incompatible) ???
EDIT: running the run_python.bat seems to work , i can start it up everythings fine , but that demo is a different one from the website ??? didnt you have a much nicer menu and different methods(canna, ...) ? also the quality seems much worse

is the website a newer version ? or am i missing the training models or what ever ?

@taizan
Copy link
Contributor

taizan commented Jan 22, 2019

hmm sorry, Im not testing it on windows.
If chainer & cupy was normally set-upped , I think it will run.

@taizan
Copy link
Contributor

taizan commented Jan 22, 2019

Maybe you could edit this file directly.
https://github.com/pfnet/PaintsChainer/blob/master/run_dependency_test.bat
it is only for setup PATH , you can edit for your own PC

@Ulf3000
Copy link
Author

Ulf3000 commented Jan 22, 2019

no i got it running fine , i just asked if the website version is an upgraded build compared to this github version and where can i get the training files that the website uses ?

@GC-Tom
Copy link

GC-Tom commented Jan 24, 2019

@Ulf3000 @taizan Could you please give me your qq or WeChat. I have some questions to ask you for help. My qq is 1157244203 WeChat: tang____bin. thanks

@Ulf3000
Copy link
Author

Ulf3000 commented Jan 24, 2019

@Ulf3000 @taizan Could you please give me your qq or WeChat. I have some questions to ask you for help. My qq is 1157244203 WeChat: tang____bin. thanks

i dont have those ..

do you want a guide to set up this stuff ?

@mikewilson9
Copy link

@Ulf3000 A guide on setting up the environment variables and how to actually run the program would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants