-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
[MMSIG-21] Migrate Eqlv2 loss to MMDet 3.x #10120
Conversation
My evaluation result running on single RTX3090:
My training config is _base_ = './mask-rcnn_r50_fpn_sample1e-3_ms-1x_lvis-v1.py'
model = dict(
roi_head=dict(
bbox_head=dict(
loss_cls=dict(type="EQLV2Loss", use_sigmoid=True))),
)
train_cfg = dict(val_interval=12) |
@xin-li-67 Can you fix the ci please? |
I think I have fixed the unittest for the EQLv2 loss in the latest commit. |
@xin-li-67 Hi, CI Failed |
@xin-li-67 Hi thanks for your contribution, we reproduced the eqlv2 on 8GPU on mmdetection with newest version, but only get the following result: lvis/bbox_AP: 0.2350 lvis/bbox_AP50: 0.3820 lvis/bbox_AP75: 0.2510 lvis/bbox_APs: 0.1770 lvis/bbox_APm: 0.3000 lvis/bbox_APl: 0.3530 lvis/bbox_APr: 0.1180 lvis/bbox_APc: 0.2220 lvis/bbox_APf: 0.3000 lvis/segm_AP: 0.2270 lvis/segm_AP50: 0.3580 lvis/segm_AP75: 0.2430 lvis/segm_APs: 0.1620 lvis/segm_APm: 0.2950 lvis/segm_APl: 0.3560 lvis/segm_APr: 0.1250 lvis/segm_APc: 0.2210 lvis/segm_APf: 0.2780 data_time: 0.0342 time: 0.2995 which is lower than your result and the eqlv2 official repository |
Motivation
MMSIG task: Migrate EQLv2 loss implementation to MMDetection 3.x.
Modification
mmdet/models/losses/init.py
mmdet/models/losses/eqlv2_loss.py
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist