You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while running, i am facing this issue:
Traceback (most recent call last):
File "/content/deep_sort_yolov3/demo.py", line 170, in
main(YOLO())
File "/content/deep_sort_yolov3/demo.py", line 158, in main
if len(pts[track.track_id]) != None:
UnboundLocalError: local variable 'track' referenced before assignment
The text was updated successfully, but these errors were encountered:
edit: this is most probably because the hardcoded default path to input source doesnt exist. you should be able pass --input 0 for webcam, but weirdly that doesnt work either, i'd recommend changing source to cv2.VideoCapture(0), it works for me
while running, i am facing this issue:
Traceback (most recent call last):
File "/content/deep_sort_yolov3/demo.py", line 170, in
main(YOLO())
File "/content/deep_sort_yolov3/demo.py", line 158, in main
if len(pts[track.track_id]) != None:
UnboundLocalError: local variable 'track' referenced before assignment
The text was updated successfully, but these errors were encountered: