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

Error :no module "ultralytics.yolo" #14

Open
linaiyue opened this issue Jan 26, 2024 · 0 comments
Open

Error :no module "ultralytics.yolo" #14

linaiyue opened this issue Jan 26, 2024 · 0 comments

Comments

@linaiyue
Copy link

微信图片_20240126111650
export_yolov8_pose.py error: The submodule name is incorrectly written during import
error :no module "ultralytics.yolo"
I change code to "from ultralytics.utils.torch_utils import select_device"
it can run successfully !

ng-fukgin added a commit to ng-fukgin/DeepStream-Yolo-Pose that referenced this issue Feb 29, 2024
Updated import path according to marcoslucianops#14.

This change reflects a restructuring of the project to address issue#14. The import path for the select_device function has been updated from ultralytics.yolo.utils.torch_utils to ultralytics.utils.torch_utils to ensure compatibility with the latest version of the code. The updated import path is clearer, making the code easier to understand and maintain.
ng-fukgin added a commit to ng-fukgin/DeepStream-Yolo-Pose that referenced this issue Feb 29, 2024
Updated import path according to marcoslucianops#14.

This change reflects a restructuring of the project to address issue marcoslucianops#14. The import path for the select_device function has been updated from ultralytics.yolo.utils.torch_utils to ultralytics.utils.torch_utils to ensure compatibility with the latest version of the code. The updated import path is clearer, making the code easier to understand and maintain.
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