-
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
wrong result of differentiable 3D IoU, occurring larger than 1 #1922
Comments
For easy reproduction, I upload arrays causing the bug. |
Thanks for your feedback~ maybe @zytx121 could have a look. |
It's a little strange. When I run this code, all results are smaller than 1. So, I can't reproduce the bug.
|
That's weird... I use the same code and get |
My pytorch version is 1.7 and cuda version is the same as you. |
I downgrade pytorch to 1.7 and the bug still exists. |
Hi @Angericky , According to the author of the original rotated iou implementation the result may be inaccurate in some corner cases 1, 2. Actually it is a bug. However even in current implementation the rotated iou loss is extremely useful for object detection 3, 4. |
Hello,
I apply function
diff_iou_rotated_3d
from mmcv.ops to implement 3D IoU loss.However, the computed IoU can be larger than 1 in some circumstances, which is wrong by definition.
But if I compute the specified predicition and target where IoU > 1 occurred, the result might be right.
This bug could be related to parallelization in cuda file, but I couldn't locate the problem code.
The text was updated successfully, but these errors were encountered: