Resize issue with scipy
Bhirpara opened this issue · 2 comments
Bhirpara commented
C:\Users\bhirpara\Downloads\AnomalyDetection_CVPR18-master>python demo.py
Using TensorFlow backend.
Traceback (most recent call last):
File "demo.py", line 2, in
from c3d import *
File "C:\Users\bhirpara\Downloads\AnomalyDetection_CVPR18-master\c3d.py", line 22, in
from scipy.misc import imresize
ImportError: cannot import name 'imresize' from 'scipy.misc' (C:\Software\Python\lib\site-packages\scipy\misc_init_.py)
kuanhungchen commented
@Bhirpara
You can solve it by installing PIL (ex: pip install pillow
)
sonal-511 commented
pip install scipy==1.1.0 and pip install pillow resolves the issue