Not able to use scipy.misc.imsave on Colaboratory
from scipy.misc import imsave
ImportError: cannot import name 'imsave'
Tried to install Pillow and Scipy again on Colab, but the requirements are already satisfied, so Colab does not install these packages
From documentation here, imsave is deprecated. You can use imageio.imwrite
instead.
In case you really need it, you can install an older scipy version.
!pip install -U scipy==1.2.0
Use
from keras.preprocessing.image import save_img
Instead of
from scipy.misc import imsave
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With