dolongbien / HumanBehaviorBKU

Abnormal Human Behaviors Detection/ Road Accident Detection From Surveillance Videos/ Real-World Anomaly Detection in Surveillance Videos/ C3D Feature Extraction
157 stars 57 forks source link

AttributeError: 'int' object has no attribute 'set_progress' #23

Open sabhi27 opened 4 years ago

sabhi27 commented 4 years ago

Function - def extract_feature_video(video_path, progress_recorder, features_per_bag = params.features_per_bag): ........ ........ ........

running this gives error:-

Models initialized Traceback (most recent call last): File "extract_feature.py", line 67, in extract_feature_video('media/videos/anormaly/Shoplifting028_x264.mp4', 32) File "extract_feature.py", line 30, in extract_feature_video progress_recorder.set_progress(i, len(video_clips))

Has anyone got this error ?