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

Add hubconf.py argparser #8799

Merged
merged 2 commits into from
Jul 30, 2022
Merged

Add hubconf.py argparser #8799

merged 2 commits into from
Jul 30, 2022

Conversation

glenn-jocher
Copy link
Member

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

Usage:

python hubconf.py --model yolov5n

Bonus: eliminates yolov5s downloads during CI, only yolov5n

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancement of model selection flexibility in CI testing and inference script.

πŸ“Š Key Changes

  • Added an argument parser in hubconf.py to allow model selection via command-line argument.
  • Updated GitHub Actions CI workflow to use a model variable when calling hubconf.py.

🎯 Purpose & Impact

  • πŸŽ› Provides developers with easier ways to specify which model to test, improving the developer experience.
  • πŸ”§ Simplifies integration and continuous testing for different models, enhancing overall codebase reliability.
  • βœ… Allows users to quickly test different models, potentially boosting productivity and facilitating experimentation.

@glenn-jocher glenn-jocher self-assigned this Jul 30, 2022
@glenn-jocher glenn-jocher merged commit 9111246 into master Jul 30, 2022
@glenn-jocher glenn-jocher deleted the update/hubconf branch July 30, 2022 19:00
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Add hubconf.py argparser

* Add hubconf.py argparser
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