Skip to content

Conversation

robinned
Copy link
Contributor

@robinned robinned commented Sep 8, 2022

Fix for bug described in issue 9329

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved conditional logic for resuming training or evolutionary search in the YOLOv5 training script.

πŸ“Š Key Changes

  • Adjusted the conditional statement that determines when to resume a training session or an evolutionary search for hyperparameters.

🎯 Purpose & Impact

  • Purpose: The change ensures that the conditions for resuming training and for starting or resuming an evolutionary search are mutually exclusive. This prevents potential conflicts when both options are specified.
  • Impact: Provides a clearer, more predictable behavior for users looking to resume training sessions or perform hyperparameter evolution without unexpected interference between the two processes. πŸ”„

Signed-off-by: robinned <[email protected]>
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ‘‹ Hello @robinned, thank you for submitting a YOLOv5 πŸš€ PR! To allow your work to be integrated as seamlessly as possible, we advise you to:

  • βœ… Verify your PR is up-to-date with ultralytics/yolov5 master branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • βœ… Verify all YOLOv5 Continuous Integration (CI) checks are passing.
  • βœ… Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." β€” Bruce Lee

@AyushExel
Copy link
Contributor

Looks good! Thanks for catching this

@glenn-jocher glenn-jocher merged commit 3cd66b1 into ultralytics:master Sep 8, 2022
@glenn-jocher
Copy link
Member

@robinned PR is merged. Thank you for your contributions to YOLOv5 πŸš€ and Vision AI ⭐

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.

3 participants