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

TypeError: 'MovieWriterRegistry' object is not an iterator #18

Open smahesh29 opened 4 years ago

smahesh29 commented 4 years ago

Traceback (most recent call last): File "demo.py", line 53, in run_demo() File "demo.py", line 49, in run_demo visualize_predictions(cfg.sample_video_path, predictions, save_path) File "C:\Users\Mahesh Sawant\Desktop\New folder\AnomalyDetection_CVPR18-master\utils\visualization_util.py", line 57, in visualize_predictions anim.save(save_path, dpi=200, writer='imagemagick') File "C:\Users\Mahesh Sawant\Desktop\New folder\my_project\lib\site-packages\matplotlib\animation.py", line 1102, in save alt_writer = next(writers, None) TypeError: 'MovieWriterRegistry' object is not an iterator

dexXxed commented 4 years ago

Hello! I had the same issue, I have remade some code from this repo and it is located here

You can test it and if you have some issues, you can make it on my repo!