-
Notifications
You must be signed in to change notification settings - Fork 659
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 'imresize' #209
Comments
That's because imresize has been removed from scipy since v1.3.0rc1 |
Or, As being mentioned in #203 (comment) , you can downgrade scipy to 1.1.0 as follows:
|
as @Mazzanicolas said: in replace: to: then replace: to:
I just couldn't map the |
Another way of solving this (I did it myself and it's working quite well) is to use Pillow library: comment and add comment Then, update the Check SciPy: And Pillow: |
|
Check docs: scipy.misc.imresize - SciPy v1.2.1 Reference Guide Check example: sample problem If you are using scipy version earlier than 1.3.0, then try this (it worked for me, tested on version 0.19.1): instead of: ... imresize() do: ... misc.imresize() |
While importing
visualize_activation
fromvis.visualization
I got this errorfrom vis.visualization import visualize_activation
The text was updated successfully, but these errors were encountered: