Skip to content

Commit 5bb7f35

Browse files
committed
updating imports for torchreid
1 parent 2c2d537 commit 5bb7f35

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

strong_sort/reid_multibackend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from os.path import exists as file_exists
1010
from .deep.reid_model_factory import show_downloadeable_models, get_model_url, get_model_name
1111

12-
from torchreid.utils import FeatureExtractor
13-
from torchreid.utils.tools import download_url
12+
from torchreid.reid.utils import FeatureExtractor
13+
from torchreid.reid.utils.tools import download_url
1414

1515

1616
def check_suffix(file='yolov5s.pt', suffix=('.pt',), msg=''):

strong_sort/sort/nn_matching.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44
import torch
55
sys.path.append('strong_sort/deep/reid')
6-
from torchreid.metrics.distance import compute_distance_matrix
6+
from torchreid.reid.metrics.distance import compute_distance_matrix
77

88

99
def _pdist(a, b):

strong_sort/strong_sort.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
from .sort.tracker import Tracker
1212
from .deep.reid_model_factory import show_downloadeable_models, get_model_url, get_model_name
1313

14-
from torchreid.utils import FeatureExtractor
15-
from torchreid.utils.tools import download_url
14+
from torchreid.reid.utils import FeatureExtractor
15+
from torchreid.reid.utils.tools import download_url
1616
from .reid_multibackend import ReIDDetectMultiBackend
1717

1818
__all__ = ['StrongSORT']

0 commit comments

Comments
 (0)