Skip to content

Conversation

@glenn-jocher
Copy link
Member

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

Signed-off-by: Glenn Jocher [email protected]

πŸ› οΈ 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 <[email protected]>
@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.

1 participant