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/inplace ops #5233

Merged
merged 2 commits into from
Oct 18, 2021
Merged

Update/inplace ops #5233

merged 2 commits into from
Oct 18, 2021

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Oct 18, 2021

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancements to dataset preprocessing, image normalization, and logging optimizations in the YOLOv5 repository.

πŸ“Š Key Changes

  • Modified bounding box conversion process in Objects365.yaml dataset script for better accuracy and clipping.
  • Optimized image normalization operation in detect.py.
  • Simplified confidence accumulation logic in WandB integration (wandb_utils.py).

🎯 Purpose & Impact

  • Ensuring bounding boxes are normalized and clipped properly increases the quality of training data, leading to potentially more accurate object detection models. 🎨
  • Streamlining the image division operation improves the performance of the detection script, reducing computational overhead. ⚑
  • The accumulation change in WandB logging provides cleaner, more efficient code, and could marginally improve logging performance. ✨

Overall, these updates are expected to improve efficiency and accuracy of the models trained using YOLOv5, with better data handling and streamlined codebase contributing to a more seamless user experience. πŸš€

Fixes out of bounds labels that seem to affect ~10% of images in dataset.
@glenn-jocher glenn-jocher merged commit 13f7275 into master Oct 18, 2021
@glenn-jocher glenn-jocher deleted the update/inplace_ops branch October 18, 2021 12:24
BjarneKuehl pushed a commit to fhkiel-mlaip/yolov5 that referenced this pull request Aug 26, 2022
* Clip Objects365 autodownload labels (ultralytics#5214)

Fixes out of bounds labels that seem to affect ~10% of images in dataset.

* Inplace ops
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