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

Fix --data from_HUB.zip #4732

Merged
merged 1 commit into from
Sep 9, 2021
Merged

Fix --data from_HUB.zip #4732

merged 1 commit into from
Sep 9, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Sep 9, 2021

@kalenmike

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced file validation and streamlined model weight checks in YOLOv5 training script.

πŸ“Š Key Changes

  • Replaced check_yaml with check_file for more generalized file validation.
  • Moved the model weight file format check (.pt) to an earlier stage in the training process.

🎯 Purpose & Impact

  • Purpose: To ensure user-provided files (data, config, weights) are properly validated, promoting better error handling and avoiding potential issues during model training.
  • Impact: Users will experience more robust checks before training begins, potentially reducing errors due to incorrect file formats or paths. The changes will lead to a smoother training process for developers and practitioners using the YOLOv5 framework.

@glenn-jocher glenn-jocher self-assigned this Sep 9, 2021
@glenn-jocher glenn-jocher merged commit c5360f6 into master Sep 9, 2021
@glenn-jocher glenn-jocher deleted the fix/hub_zip branch September 9, 2021 16:02
CesarBazanAV pushed a commit to CesarBazanAV/yolov5 that referenced this pull request Sep 29, 2021
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 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