Skip to content

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

Open
@sabhi27

Description

@sabhi27

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions