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

Total_time doesn`t increase in video_detection_demo.py #8

Open
FelixCaae opened this issue Oct 26, 2018 · 2 comments
Open

Total_time doesn`t increase in video_detection_demo.py #8

FelixCaae opened this issue Oct 26, 2018 · 2 comments

Comments

@FelixCaae
Copy link

finish processing batch 74
finish processing batch 75
finish processing batch 76
Traceback (most recent call last):
File "examples/DCOD/video_detection_demo.py", line 198, in
fps = (batch_size*len(batch_list))/total_time
ZeroDivisionError: float division by zero

@PRAVESH-RATHEE
Copy link

#Load image.
video_dir = args.video

total_time = 0.0

batch_list = []

enter the time of your video in seconds at total_time . this resolved my error.]
Although faced another error:
File "examples/DCOD/it_video_detection_demo.py", line 205, in
output_size = (output[0].shape[0], output[0].shape[1])
IndexError: list index out of range

@QingxinWx
Copy link

#Load image.
video_dir = args.video

total_time = 0.0

batch_list = []

enter the time of your video in seconds at total_time . this resolved my error.]
Although faced another error:
File "examples/DCOD/it_video_detection_demo.py", line 205, in
output_size = (output[0].shape[0], output[0].shape[1])
IndexError: list index out of range

how do you resolved 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

3 participants