-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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] Remove mmcv.iou3d from mmdetecion3d #1403
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #1403 +/- ##
==========================================
- Coverage 51.20% 51.17% -0.04%
==========================================
Files 212 212
Lines 18280 18284 +4
Branches 2978 2980 +2
==========================================
- Hits 9361 9356 -5
- Misses 8362 8371 +9
Partials 557 557
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
I've also checked that
So, I plan to add this replacements to the current PR. |
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.
There are two issues related to compatibility:
- We need to upgrade the lower bound of mmcv version if merging this PR?
- Does mmcv support the previous version of nms? I do not check the PRs in mmcv, but maybe we need to keep the deprecated version for several releases and add compatibility docs in mmcv/mmdet3d.
Actually this PR is not connected to any PRs to But, if it will be merged, than we can update unused |
Great, so the main idea is to merge nms ops in mmcv and use the unified one in mmdet3d? Then I think this PR is ready. |
Hi @filaPro , |
Hm, everything is ok now. |
Motivation
Remove
mmcv.iou3d
frommmdetection3d
.iou3d_boxes_overlap_bev_forward
->box_iou_rotated.box_iou_rotated
iou_3d.nms_bev
->nms.nms_rotated
iou_3d.nms_normal_bev
->nms.nms
Modification
For now only
iou3d_boxes_overlap_bev_forward
->box_iou_rotated.box_iou_rotated
is done.Nms
can be replaced in this PR in the future or in the other PR.BC-breaking (Optional)
May be only due to some float tolerance.