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

Add global YOLOv5_DATASETS_DIR #9586

Merged
merged 1 commit into from
Sep 25, 2022
Merged

Add global YOLOv5_DATASETS_DIR #9586

merged 1 commit into from
Sep 25, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Sep 25, 2022

Signed-off-by: Glenn Jocher glenn.jocher@ultralytics.com

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Updated dataset directory configuration with environment variable support.

πŸ“Š Key Changes

  • Removed the hardcoded 'datasets' directory path assignment.
  • Added support for a custom 'YOLOv5_DATASETS_DIR' environment variable to specify the datasets directory.

🎯 Purpose & Impact

  • Purpose: Allows users to define a custom directory for YOLOv5 datasets through an environment variable, providing greater flexibility in dataset management.
  • Impact: Users can now easily switch datasets locations without modifying the code, which is particularly useful when working across different environments or with limited permission settings. This change enhances the configurability and usability of the YOLOv5 model training pipeline. πŸ› οΈ

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit 9006b41 into master Sep 25, 2022
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.

None yet

1 participant