Skip to content
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

[Fix] make iou3d.boxes_iou3d actually calculate 3D IoU #2018

Merged
merged 3 commits into from
Jun 9, 2022

Conversation

filaPro
Copy link
Contributor

@filaPro filaPro commented May 28, 2022

Motivation

Fix a bug introduced in #1902. Actually boxes_iou3d was calculating bev iou. Now it is fixed. Also boxes_overlap_bev is now a public function and can be used not only to calculate 3d iou but also 3d iof in mmdetection3d.

Modification

Fix boxes_iou3d in python and cuda. Add boxes_overlap_bev and corresponding tests.

BC-breaking (Optional)

No. Actually boxes_iou3d was not used in mmdetection3d and now it is just fixes.

May by @ZwwWayne or @Tai-Wang can have a look about mmdetection3d connection.

@zhouzaida zhouzaida requested a review from grimoire May 30, 2022 07:43
mmcv/ops/iou3d.py Outdated Show resolved Hide resolved
@Tai-Wang
Copy link
Member

May refine the PR title to make this fix more clear

@Tai-Wang
Copy link
Member

Other modifications LGTM.

@filaPro filaPro changed the title [Fix] iou3d [Fix] make iou3d.boxes_iou3d actually calculate 3D IoU Jun 6, 2022
@filaPro
Copy link
Contributor Author

filaPro commented Jun 6, 2022

Hi @grimoire , @Tai-Wang ,
I revert back CUDA_2D_KERNEL_LOOP and fix other comments.

Copy link
Member

@grimoire grimoire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZwwWayne ZwwWayne merged commit 15495ea into open-mmlab:master Jun 9, 2022
@filaPro filaPro deleted the fix_iou3d branch June 20, 2022 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants