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

Update ci-testing.yml streamlined tests #8809

Merged
merged 3 commits into from
Jul 31, 2022
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jul 31, 2022

Update tests per Colab CI updates in yesterday's PR.

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved YOLOv5 CI testing workflow refinement for better maintainability and readability. πŸ› 

πŸ“Š Key Changes

  • Simplified and refactored the testing script to use loop structures, improving code clarity. πŸ”„
  • Renamed variables for better understanding (d to m, best to b). πŸ”€
  • Unified image size and batch commands under one variable (imgsz). πŸ–Ό
  • Reduced code duplication by using loops for device and weight iterations. ♻️

🎯 Purpose & Impact

  • This refactoring makes the CI testing workflow easier to read and maintain. ✨
  • By using loops, future changes to the script can be made in fewer places, reducing potential errors. πŸ› 
  • Cleaned-up variable names make it easier for new contributors to understand the code. πŸ“
  • These improvements will indirectly enhance the reliability of the YOLOv5 testing process. πŸ”

@glenn-jocher glenn-jocher self-assigned this Jul 31, 2022
@glenn-jocher glenn-jocher merged commit 7b72d9a into master Jul 31, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch July 31, 2022 14:12
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Update ci-testing.yml streamlined tests

* Update ci-testing.yml

* Update ci-testing.yml
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