-
Notifications
You must be signed in to change notification settings - Fork 0
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
Getting an error when trying to run #1
Comments
I tried changing https://github.com/dnuffer/large_neural_style/blob/master/vgg19.py#L37 to
So I am assuming this is some kind of encoding error. |
The error is because the weights were pickled with python 2.7 and you're using 3.6. Apparently there's potential incompatibilities. Reading https://stackoverflow.com/questions/28218466/unpickling-a-python-2-object-with-python-3 it seems you can try passing encoding="latin1" to pickle.load(), and if that doesn't work, I'd suggest using python 2.7. |
Also you can try using |
Ah, I see, thank you! |
All of the dependencies seemed to install correctly with pip. Any idea what might fix this?
The text was updated successfully, but these errors were encountered: