Skip to content

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.

1 participant