-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Enhance] Differentiable rotated IoU #1854
Conversation
Can you please guide me about build error?
I'm not enough familiar with cuda and everything is fine on my side with |
The error for cpu build is fixed by using |
Thanks for the contribution! This is a guide about how to add custom ops in MMCV. Please update the code follow the steps. |
Hi, @grimoire |
Hi, @grimoire |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please @zytx121 have a look. |
Hi @filaPro , thanks for your contribution. The lint failed. Please refer to https://github.com/open-mmlab/mmcv/runs/5958604193?check_suite_focus=true to fix it. BTW, we also need to add the op in |
@filaPro Good Job! I can't wait to use this PR in mmrotate. |
Hi @filaPro |
Also don't quite undersrand lint problems. Everything is fine on my side. |
You can click https://github.com/open-mmlab/mmcv/runs/5983405663?check_suite_focus=true to see what happens. |
Oh, I see, |
LGTM |
The lint issue is caused by other PR that is unrelated to this PR. The failure in CI should also be fixed in master. Therefore, merging this PR should be safe. |
Motivation
This PR adds Differentiable rotated IoU both 2d and 3d. It is discusses with @ZwwWayne and @Tai-Wang as a part of work on FCAF3D in mmdetection3d. It also can be used in mmrotate.
Modification
Just add a standart cuda op with python wrapper.
BC-breaking (Optional)
No
Use cases (Optional)
2d and 3d IoU loss.