ekosman / AnomalyDetectionCVPR2018-Pytorch

Pytorch version of - https://github.com/WaqasSultani/AnomalyDetectionCVPR2018
176 stars 55 forks source link

Error while running video_demo.py #117

Closed imPdhar closed 2 years ago

imPdhar commented 2 years ago

Ran the command python video_demo.py --feature_extractor "exps/resnet_r3d101_KM_200ep/models/epoch_10.pt" --feature_method "c3d" --ad_model "exps/c3d/models/epoch_80000.pt" --n_segments "32" but got error TypeError: 'AnomayDetector' object is not iterable. Not sure why this is happening. Can someone help me? Attaching screenshot for reference.

Screenshot 2022-05-31 110622

Peggy118 commented 2 years ago

@imPdhar Hi, sorry for bothering you. I met the same error. Did you solve this problem?

imPdhar commented 2 years ago

@imPdhar Hi, sorry for bothering you. I met the same error. Did you solve this problem?

I unfortunately did not.