CIOU
CIoU, short for Complete Intersection over Union, is a loss function used in bounding box regression for object detection. It extends the idea of IoU-based losses by incorporating not only the overlap between predicted and ground-truth boxes but also the spatial relationship and shape similarity between boxes. By doing so, CIoU aims to provide more informative gradients during training, leading to faster convergence and more accurate box predictions.
The loss combines three components: a contact term for overlap, a distance term for the centers, and
The CIoU loss is commonly written as: L_CIoU = 1 - IoU + (ρ(b, bgt)^2 / c^2) + α · v. This formulation