Autonomous Tech./Error (Windows & Ubuntu)
from sklearn.utils.linear_assignment_ import linear_assignmentModuleNotFoundError: No module named 'sklearn.utils.linear_assignment_'
Engineeus
2021. 8. 23. 19:11
728x90
from sklearn.utils.linear_assignment_ import linear_assignment
ModuleNotFoundError: No module named 'sklearn.utils.linear_assignment_'
<problum is>
from sklearn.utils.linear_assignment_ import linear_assignment
<solution>
from scipy.optimize import linear_sum_assignment as linear_assignment
<if anotion error with sort.py>
sort.py", line 149, in associate_detections_to_trackers
if(d not in matched_indices[:,0]):
TypeError: tuple indices must be integers or slices, not tuple
follow below post
https://mickael-k.tistory.com/215