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 colorstr() #1887

Merged
merged 8 commits into from
Jan 9, 2021
Merged

Add colorstr() #1887

merged 8 commits into from
Jan 9, 2021

Conversation

glenn-jocher
Copy link
Member

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

๐Ÿ› ๏ธ PR Summary

Made with โค๏ธ by Ultralytics Actions

๐ŸŒŸ Summary

Enhanced anchor scaling and improved command-line feedback in the YOLOv5 training script.

๐Ÿ“Š Key Changes

  • Anchor scaling logic in train.py is modified to factor in the number of output layers.
  • Autoanchor analysis in utils/autoanchor.py now includes more descriptive prefix output for better readability.
  • The git status check in utils/general.py now checks for the existence of .git and Docker environments more robustly.
  • Loss calculation in utils/loss.py simplifies scaling factors for lbox and lcls losses.
  • utils/torch_utils.py includes a new method to describe the git state alongside selecting a computing device.

๐ŸŽฏ Purpose & Impact

  • ๐Ÿ› ๏ธ Improves anchor scaling to potentially boost object detection performance.
  • ๐Ÿ“ข Enhances user feedback during anchor analysis with colored print statements.
  • ๐Ÿ” Provides better Git repository status checks to inform users when updates are available.
  • ๐Ÿงฎ Optimization of the loss computation could lead to more effective training.
  • ๐Ÿ“Š Git descriptors in device selection output offer users clearer version tracking information.

@glenn-jocher glenn-jocher changed the title Add colorful() Add colorstr() Jan 9, 2021
@glenn-jocher glenn-jocher merged commit 6ab5895 into master Jan 9, 2021
@glenn-jocher glenn-jocher deleted the colorful branch January 9, 2021 23:24
KMint1819 pushed a commit to KMint1819/yolov5 that referenced this pull request May 12, 2021
* Add colorful()

* update

* newline fix

* add git description

* --always

* update loss scaling

* update loss scaling 2

* rename to colorstr()
taicaile pushed a commit to taicaile/yolov5 that referenced this pull request Oct 12, 2021
* Add colorful()

* update

* newline fix

* add git description

* --always

* update loss scaling

* update loss scaling 2

* rename to colorstr()
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Add colorful()

* update

* newline fix

* add git description

* --always

* update loss scaling

* update loss scaling 2

* rename to colorstr()
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