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

Installing Chainer issue #3

Open
enzyme69 opened this issue Apr 5, 2016 · 0 comments
Open

Installing Chainer issue #3

enzyme69 opened this issue Apr 5, 2016 · 0 comments

Comments

@enzyme69
Copy link

enzyme69 commented Apr 5, 2016

I follow every steps, I think all correct, but with GPU example, I am getting error message:

C:_PYTOOLS\neural_style_synthesizer-master>python bin/convert_image_multi.py --
iteration=50 --gpu=0 --xsplit=1 --ysplit=1 --resize=500 input.jpg style.png --ou
tput_image=./convertedGPU.png
Namespace(average_pooling=False, content_image='input.jpg', content_weight=0.005
, debug=False, debug_span=100, gpu=0, init_image='input.jpg', iteration=50, mode
l='vgg', optimize=True, out_dir='output', output_image='./convertedGPU.png', ran
dom_init=False, resize=500, texture_image='style.png', xsplit=1, ysplit=1)
Traceback (most recent call last):
File "bin/convert_image_multi.py", line 48, in
converter = neural_art.image_converters.MultiReferenceImageConverter(texture
_imgs, gpu=args.gpu, content_weight=args.content_weight, texture_weight=1, model
=model, average_pooling=args.average_pooling)
File "bin..\neural_art\image_converters\multi_reference_image_converter.py",
line 14, in init
super(MultiReferenceImageConverter, self).init(gpu=gpu, optimizer=optimi
zer, model=model, content_weight=content_weight, texture_weight=texture_weight,
average_pooling=average_pooling)
File "bin..\neural_art\image_converters\image_converter.py", line 26, in in
it

chainer.cuda.get_device(gpu).use()
File "C:\Python27\lib\site-packages\chainer\cuda.py", line 161, in get_device
check_cuda_available()
File "C:\Python27\lib\site-packages\chainer\cuda.py", line 82, in check_cuda_a
vailable
raise RuntimeError(msg)
RuntimeError: CUDA environment is not correctly set up
(see https://github.com/pfnet/chainer#installation).No module named cupy

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

1 participant