Object-Detection-and-Tracking icon indicating copy to clipboard operation
Object-Detection-and-Tracking copied to clipboard

UnboundLocalError: local variable 'track' referenced before assignment

Open 6zc opened this issue 5 years ago • 1 comments

Traceback (most recent call last): File "main.py", line 172, in main(YOLO()) File "main.py", line 158, in main if len(pts[track.track_id]) != None: UnboundLocalError: local variable 'track' referenced before assignment

Why would this happened? Using deep sort yolov3

6zc avatar Jan 16 '20 09:01 6zc

@6zc Please check the path of the input video

yehengchen avatar Feb 02 '20 16:02 yehengchen