Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sabhi27 opened this issue Sep 22, 2020 · 0 comments
Open

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

sabhi27 opened this issue Sep 22, 2020 · 0 comments

Comments

@sabhi27
Copy link

sabhi27 commented Sep 22, 2020

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant