yehengchen / Object-Detection-and-Tracking

Object Detection and Multi-Object Tracking
MIT License
1.86k stars 753 forks source link

yolov3_sort error if frameIndex > 4000 #84

Closed arnanmaipradit closed 4 years ago

arnanmaipradit commented 4 years ago

Traceback (most recent call last): File "H:/Pycharm_Video_detection/Object-Detection-and-Tracking/Object-Detection-and-Tracking/OneStage/yolo/yolov3_sort/main.py", line 166, in tracks = tracker.update(dets) File "H:\Pycharm_Video_detection\Object-Detection-and-Tracking\Object-Detection-and-Tracking\OneStage\yolo\yolov3_sort\sort.py", line 203, in update trk.update(dets[d,:][0]) IndexError: too many indices for array

how can I solve this problem my video is 15 min