Tiny-DSOD icon indicating copy to clipboard operation
Tiny-DSOD copied to clipboard

Total_time doesn`t increase in video_detection_demo.py

Open FelixCaae opened this issue 6 years ago • 2 comments

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

FelixCaae avatar Oct 26 '18 12:10 FelixCaae

#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

PRAVESH-RATHEE avatar Jun 16 '19 06:06 PRAVESH-RATHEE

#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?

QingxinWx avatar Jul 31 '19 08:07 QingxinWx