-
Notifications
You must be signed in to change notification settings - Fork 481
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
ImportError: cannot import name 'imread' #64
Comments
@Ruqyai you, like me, likely installed the most recent version of SciPy, which no longer contains the imread method. See here: https://docs.scipy.org/doc/scipy-1.2.1/reference/generated/scipy.misc.imread.html I have tried using imageio - you need to also update line 116 and change the parameter "mode" to "pilmode". But tbh even after doing that I am just getting different errors:
|
In the color_transfer.py file add this: |
it's really sad that great projects like these get utterly destroyed by changes in the underlying libraries. basically this entire neural doodle tree is completely broken by depricated functions in scipy and other libraries. imo devs have an obligation to tell people their stuff is broken (and pull it from github) if the underlying dependencies break. |
1- don't repeat your comment as a seperate issue (or instead don't paste your issue in other issues) 2- Nothing stops you from volunteering some of your own time maintaining the project and sending PR to update it, so feel free to do that if you feel so strongly about it. |
. |
Traceback (most recent call last):
File "Neural-Style-Transfer/color_transfer.py", line 9, in
from scipy.misc import imread, imresize, imsave, fromimage, toimage
ImportError: cannot import name 'imread'
The text was updated successfully, but these errors were encountered: