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.

1 participant