Open 2111905222 opened 3 years ago
@2111905222 Have you managed to solve this error?
https://github.com/Qidian213/deep_sort_yolov3/issues/161 that should works
linear_assignment.py hange this and it will work.
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])):
File "/home/xuan/study/Study_Project/Online-Realtime-Action-Recognition-based-on-OpenPose/Tracking/deep_sort/linear_assignment.py", line 61, in min_cost_matching if col not in indices[:, 1]: TypeError: tuple indices must be integers or slices, not tuple