Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'DeepSort' from 'deep_sort_pytorch.deep_sort' (unknown location) #44

Open
NhanDoremon opened this issue Dec 10, 2023 · 1 comment

Comments

@NhanDoremon
Copy link

After I unzip the deep_sort_pytorch zip file, and i run the code like: !python predict.py source="test1.mp4"
The model have the problem below, i reall appreciate if you help me to sovle it, thank you in advance
Traceback (most recent call last):
File "d:\OneDrive - Sejong University\NgheNhan_Master\Course Work\First Semester\Advanced in Machine Vision\Projects\Abnormal Behavior\Code\Object_detection_and Tracking\YOLOv8-DeepSORT-Object-Tracking\ultralytics\yolo\v8\detect\predict.py", line 14, in
from ultralytics.yolo.engine.predictor import BasePredictor
File "d:\onedrive - sejong university\nghenhan_master\course work\first semester\advanced in machine vision\projects\abnormal behavior\code\object_detection_and tracking\yolov8-deepsort-object-tracking\ultralytics_init_.py", line 5, in
from ultralytics.hub import checks
File "d:\onedrive - sejong university\nghenhan_master\course work\first semester\advanced in machine vision\projects\abnormal behavior\code\object_detection_and tracking\yolov8-deepsort-object-tracking\ultralytics\hub_init_.py", line 15, in
from ultralytics.yolo.v8.detect import DetectionTrainer
File "d:\onedrive - sejong university\nghenhan_master\course work\first semester\advanced in machine vision\projects\abnormal behavior\code\object_detection_and tracking\yolov8-deepsort-object-tracking\ultralytics\yolo\v8\detect_init_.py", line 3, in
from .predict import DetectionPredictor, predict
File "d:\onedrive - sejong university\nghenhan_master\course work\first semester\advanced in machine vision\projects\abnormal behavior\code\object_detection_and tracking\yolov8-deepsort-object-tracking\ultralytics\yolo\v8\detect\predict.py", line 23, in
from deep_sort_pytorch.deep_sort import DeepSort
ImportError: cannot import name 'DeepSort' from 'deep_sort_pytorch.deep_sort' (unknown location)

@NhanDoremon
Copy link
Author

NhanDoremon commented Apr 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant