neural_artistic_style
neural_artistic_style copied to clipboard
TypeError?Need help
Dear andersbll,
I run it , but i got a typeerror.Python3.5
F:\mew\neural_artistic_style-master>python neural_artistic_style.py --subject images/1.jpg --style images/2.jpg
CUDArray: CUDA back-end not available, using NumPy.
Traceback (most recent call last):
File "neural_artistic_style.py", line 138, in
I am looking for your favorable reply at your convenience.Thank you.
Same error.
Same error. Seeking for help. Thanks!
python3 neural_artistic_style.py --subject a.JPG --style images/starry_night.jpg
CUDArray: CUDA back-end not available, using NumPy.
Traceback (most recent call last):
File "neural_artistic_style.py", line 138, in
+++++++++++++++++++++++++++++++++++++++++++++ 2 hours later: I tried it again with python 2.7. It worked. I'm waiting for its iteration.
python neural_artistic_style.py --subject a.JPG --style images/starry_night.jpg CUDArray: CUDA back-end not available, using NumPy. Iteration: 0, cost: 43.4514 Iteration: 1, cost: 42.7667
Same error
make sure that you have installed the right type of imagenet-vgg-verydeep-19.mat file since that what was causing the error for me.
@TylerBohrer I checked its version before i put the issue, it was right. Now, i download the latest version(30-Sep-2016), but i get the same error. imagenet-vgg-verydeep-19.mat And what is your type of imagenet-vgg-verydeep-19.mat ?
@TylerBohrer Same error,I dowload it from http://www.vlfeat.org/matconvnet/models/imagenet-vgg-verydeep-19.mat and file checksums is same. $ md5sum imagenet-vgg-verydeep-19.mat 106118b7cf60435e6d8e04f6a6dc3657 imagenet-vgg-verydeep-19.mat
Same error, on mac, NOT using CUDA back end.
Same Error here on windows, also not using cuda.
maybe I found my problem, I had to change the numpy module to version 1.11.0 if I run the program now it also warns about this error in newer versions: "VisibleDepricationWarning: using a non-integer instead of an integer will result in an error in the future" ---> keep in mind, that if you would have the cuda back end, it wouldn't use the numpy-stuff and you don't have to change the version