ptirupat / AnomalyDetection_CVPR18

Implementation of Real-World Anomaly Detection CVPR_2018 paper
http://openaccess.thecvf.com/content_cvpr_2018/papers/Sultani_Real-World_Anomaly_Detection_CVPR_2018_paper.pdf
43 stars 12 forks source link

Resize issue with scipy #15

Open Bhirpara opened 4 years ago

Bhirpara commented 4 years ago

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 4 years ago

@Bhirpara You can solve it by installing PIL (ex: pip install pillow)

sonal-511 commented 4 years ago

pip install scipy==1.1.0 and pip install pillow resolves the issue