-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
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
CIoU protected divides #8546
CIoU protected divides #8546
Conversation
Protected divides in IOU function to resolve #8539
@glenn-jocher Looks good! What about lines 232/233 and 250? There, it is also possible to divide with 0. Isn't it?: Lines 232 to 233 in 7dafd1c
Line 250 in 7dafd1c
|
@UnglvKitDe 233 is not a divide, the \ symbol means line continuation. The c2 on L250 is already protected by the Line 244 in 7dafd1c
|
@glenn-jocher You are right, srry didn't read correctly. |
@glenn-jocher Thanks for the quick fix! |
@UnglvKitDe PR is merged. Thank you for your contributions to YOLOv5 π and Vision AI β |
Protected divides in IOU function to resolve ultralytics#8539
Protected divides in IOU function to resolve ultralytics#8539
Protected divides in IOU function to resolve #8539
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Optimization of bounding box intersection-over-union calculations in YOLOv5.
π Key Changes
eps
) addition in the width and height calculations of bounding boxes.v
term in the Complete Intersection over Union (CIoU) loss calculation to prevent division by zero during the aspect ratio term computation.π― Purpose & Impact