ZeroDivisionError: division by zero
Bulinglife opened this issue · 0 comments
Bulinglife commented
E:\毕业设计\程序\Social-Distancing-AI-master>python main.py --video_path='E:\毕业设计\程序\social-distance-detector\pedestrians.mp4'
Traceback (most recent call last):
File "main.py", line 258, in
calculate_social_distancing(values.video_path, net_yl, output_dir, output_vid, ln1)
File "main.py", line 80, in calculate_social_distancing
scale_w, scale_h = utills.get_scale(width, height)
File "E:\毕业设计\程序\Social-Distancing-AI-master\utills.py", line 82, in get_scale
return float(dis_w/W),float(dis_h/H)
ZeroDivisionError: division by zero