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

Update YOLOv8 Dependency Management and Import Path #17

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ng-fukgin
Copy link

This pull request aims to update the YOLOv8 project's installation and dependency management process in accordance with the latest PEP 517 and PEP 518 standards. Additionally, based on the discussion in Issue #14, I have updated the import path for the select_device function. These changes are intended to simplify the installation process, make dependency management more standardized and maintainable, and ensure compatibility with the latest version of the code.

The specific changes are as follows:

  • Adopting the pyproject.toml file, and using pip (version 19.0 or higher) to run the installation command directly in the project's root directory, automatically installs the project and its dependencies. This simplifies the installation process and improves the standardization and maintainability of dependency management.
  • 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 project's latest structure, making the code clearer, easier to understand, and maintain.

These updates aim to improve the overall quality and user experience of the project.

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.
Based on PEP 517 and PEP 518 standards, the YOLOv8 project has updated its installation and dependency management process, adopting pyproject.toml to simplify this process. Now, by using pip (version 19.0 or higher) to run the installation command directly in the project's root directory, the project and its dependencies can be automatically installed, making the installation process simpler, and dependency management more standardized and easier to maintain.
Update export_yoloV8_pose.py
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.
Based on PEP 517 and PEP 518 standards, the YOLOv8 project has updated its installation and dependency management process, adopting pyproject.toml to simplify this process. Now, by using pip (version 19.0 or higher) to run the installation command directly in the project's root directory, the project and its dependencies can be automatically installed, making the installation process simpler, and dependency management more standardized and easier to 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

Successfully merging this pull request may close these issues.

1 participant