Traceback (most recent call last):
File "c:\Programming\opencv\yolo\dbscan_deepsort.py", line 9, in
from tracker import Tracker
File "c:\Programming\opencv\yolo\tracker.py", line 1, in
from deep_sort.deep_sort.tracker import Tracker as DeepSortTracker
File "c:\Programming\opencv\yolo\deep_sort\deep_sort\tracker.py", line 5, in
from . import linear_assignment
File "c:\Programming\opencv\yolo\deep_sort\deep_sort\linear_assignment.py", line 4, in
from sklearn.utils.linear_assignment_ import linear_assignment
ModuleNotFoundError: No module named 'sklearn.utils.linear_assignment_'
From what I find online linear_assignment is discontinued in newer scikit-learn versions and I'm unable to install the version in requirments file.
ERROR: Could not find a version that satisfies the requirement scikit-learn==0.21.0 (from versions: 0.9, 0.10, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.14, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.17, 0.17.1, 0.18, 0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.19.2, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.21.1, 0.21.2, 0.21.3, 0.22, 0.22.1, 0.22.2.post1, 0.23.0, 0.23.1, 0.23.2, 0.24.0, 0.24.1, 0.24.2, 1.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0rc1, 1.2.0, 1.2.1, 1.2.2, 1.3.0rc1)
ERROR: No matching distribution found for scikit-learn==0.21.0
If I install for some even older version I have error with sklearn.cluster.dbscan which I intend to use in the same program as deepsort. Is there any way to make deepsort work with different scikit-learn version?