Closed amitkayal closed 5 years ago
Unfortunately, scipy.misc.imresize
have been removed since scipy==1.3.0
.
We are going to fix this problem.
But for now, I believe that you can run following to avoid it:
pip install -I scipy==1.2.*
Unfortunately,
scipy.misc.imresize
have been removed sincescipy==1.3.0
. We are going to fix this problem. But for now, I believe that you can run following to avoid it:pip install -I scipy==1.2.*
Thanks this really worked for me.
Another fix: cherry-pick https://github.com/raghakot/keras-vis/commit/39e775b65c8fe89a86eaf3ea686db677de9990b2
git clone --branch=0.4.1 https://github.com/raghakot/keras-vis.git
cd keras-vis/
git cherry-pick 39e775
pip install .
After using this command, pip install -I scipy==1.2.*
I am getting a different error. 5 from scipy.misc import imresize 6 ----> 7 from keras.layers.convolutional import _Conv 8 from keras.layers.pooling import _Pooling1D, _Pooling2D, _Pooling3D 9 from keras import backend as K
ImportError: cannot import name '_Conv'
@GopinathRock you are describing #228. Note that this project is no longer maintained, consider using alternatives instead.
I am trying to import this module (from vis.visualization import visualize_cam, overlay ) from google colab and facing following error. Looks like, that the module is referring old package which is no longer available? Error: Using TensorFlow backend.
ImportError Traceback (most recent call last)