-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Different types of IoU #2545
Comments
Hi, This is a good request. I have seen benefits for Generalized IoU in the past, although for us Distance / Complete IoU didn't show any benefits. From a number of citations perspective, I would say that we could currently add Generalized IoU to torchvision, and wait a bit more on Distance / Complete IoU to see if more people find it helpful. |
For information, here is an implementation for Generalized IoU that fits the same API as the IoU from torchvision |
I already had an implementation and now I aligned it to the one you mentioned. I'd like to contribute with a pull request but I can't find a guide for contributing and I don't want to create too many problems |
For contributing, the standard guidelines apply:
|
Hello, @fmassa can I contribute to this issue by creating a PR? |
🚀 Feature
Implementation of 3 other types of IoU metric in torchvision.ops.boxes:
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:
The text was updated successfully, but these errors were encountered: