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
Just solved it. Change if col not in indices[:, 1]: to if col not in indices[1]: if row not in indices[:, 0]: to if row not in indices[0]:
and for row, col in indices: to for row, col in list(zip(indices[0], indices[1])): @Veronica1997 @cvlmm
File "C:...\deep_sort_yolov3-master\demo.py", line 132, in
main(YOLO())
File "C:...\deep_sort_yolov3-master\demo.py", line 87, in main
tracker.update(detections)
File "C:...\deep_sort_yolov3-master\deep_sort\tracker.py", line 69, in update
self._match(detections)
File "C:...\deep_sort_yolov3-master\deep_sort\tracker.py", line 127, in _match
detections, iou_track_candidates, unmatched_detections)
File "C:...\deep_sort_yolov3-master\deep_sort\linear_assignment.py", line 63, in min_cost_matching
if col not in indices[:, 1]:
TypeError: tuple indices must be integers or slices, not tuple
The text was updated successfully, but these errors were encountered: