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

Apply SIoU on Bounding Box IoU metrics as default #11461

Closed
wants to merge 1 commit into from

Conversation

rodsei
Copy link

@rodsei rodsei commented Apr 30, 2023

  • SIoU method on metrics/bbox_iou
  • applying SIoU as default metric on bounding box loss

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Incorporating SIoU (Scaled IoU) Loss into YOLOv5 prediction and bounding box calculations.

πŸ“Š Key Changes

  • Replaced CIoU (Complete IoU) with SIoU (Scaled IoU) in IoU loss calculations for object detection.
  • Extended the bbox_iou function to support SIoU loss computation.
  • Implemented the SIoU loss mathematical formula according to the referenced research paper.

🎯 Purpose & Impact

  • 🎯 Purpose: To improve the performance of YOLOv5 by integrating a more advanced IoU loss computation that could better differentiate between bounding boxes and address scale invariance.
  • πŸš€ Impact: Users may experience improved object detection accuracy, especially in cases where scaling differences are significant, potentially leading to more precise and scalable object detection models.

- method metrics/bbox_iou
- applying it as default metric
@rodsei rodsei closed this Apr 30, 2023
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ‘‹ Hello @rodsei, thank you for submitting a YOLOv5 πŸš€ PR! To allow your work to be integrated as seamlessly as possible, we advise you to:

  • βœ… Verify your PR is up-to-date with ultralytics/yolov5 master branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • βœ… Verify all YOLOv5 Continuous Integration (CI) checks are passing.
  • βœ… Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." β€” Bruce Lee

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