Closed
Description
🚀 Feature
Implementation of 3 other types of IoU metric in torchvision.ops.boxes:
- Generalized IoU
- Distance IoU
- Complete IoU
Motivation
Since these metrics can lead to better results in some cases (object detection, etc.) it could be useful to have them natively implemented.
Pitch
Users who need IoU computation can simply choose from 4 different implementation using the same inputs (e.g. two lists of boxes).
Additional context
Mathematical details can be found here:
- Generalized IoU: Generalized Intersection over Union
- Distance/Complete IoU: Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression