Skip to content

[Feat]: Support DAB-DETR #8533

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

KeiChiTse
Copy link
Contributor

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Implementation of DAB-DETR detector.

Modification

Add DAB-DETR detector module and DAB-DETR head module, main modifications are in mmdet/models/utils/transformer.py, mmdet/models/dense_heads/dab_detr_head.py files.

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)

Use DAB-DETR detector.

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

@CLAassistant
Copy link

CLAassistant commented Aug 10, 2022

CLA assistant check
All committers have signed the CLA.

@ZwwWayne ZwwWayne added the v-2.x label Aug 15, 2022
@ZwwWayne ZwwWayne added this to the 2.26.0 milestone Aug 15, 2022
@KeiChiTse
Copy link
Contributor Author

20220814_041356.log
20220816_015156.log

[Update]:

Experiment logs of "res50" and "res50+3 patterns" are uploaded. Compared to paper, as for res50, current mAP is 41.8 (-0.4) with 80 classes. As for res50+3 patterns, current mAP is 42.7 (+0.1) with 80 classes.

The experiment results are supported by only one individual run for each setting (for now), to improve the mAP, more experiments and further investigation are WIP!

@KeiChiTse
Copy link
Contributor Author

[Update]:

Previous experiments set dropout to 0.1, misaligned with official repo as they use dropout 0.0 , which is proved to be beneficial in enhancing mAP in Sparse R-CNN paper.
More experiments with dropout 0.0 and num classes 80 are on the way!

@KeiChiTse
Copy link
Contributor Author

[Update]:

Pretrained checkpoint of this version will be available after the refactor work is done in upcoming MMDetection 3.0.
For details, please refer to #8811 and #8763.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants