You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: