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

[Feature] Support using mmengine to train detectron2 #8672

Merged
merged 18 commits into from
Nov 1, 2022

Conversation

BIGWangYuDong
Copy link
Collaborator

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

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

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

  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.

@BIGWangYuDong
Copy link
Collaborator Author

d2 release faster-rcnn:

"bbox/AP": 37.931116259843556, "bbox/AP50": 58.83956400223075, "bbox/AP75": 41.05003436472164, "bbox/APl": 49.099591469327336, "bbox/APm": 41.140783153281504, "bbox/APs": 22.438183787843734,

mmdet version:

08/31 11:10:03 - mmengine - INFO - Iter(test) [2500/2500]  coco/bbox_mAP: 0.3800  coco/bbox_mAP_50: 0.5880  coco/bbox_mAP_75: 0.4100  coco/bbox_mAP_s: 0.2250  coco/bbox_mAP_m: 0.4120  coco/bbox_mAP_l: 0.4920

@ZwwWayne ZwwWayne added this to the 3.0.0rc1 milestone Sep 5, 2022
@BIGWangYuDong BIGWangYuDong changed the title [WIP] Support using mmengine to train detectron2 [Feature] Support using mmengine to train detectron2 Sep 14, 2022
@BIGWangYuDong
Copy link
Collaborator Author

BIGWangYuDong commented Sep 14, 2022

Model d2 release mmdet wrapper
Faster R-CNN box AP: 37.9 box AP: 38.0
RetinaNet box AP: 37.4 box AP: 37.4
Mask R-CNN box AP: 38.6, mask AP: 35.2 box AP: 38.4, mask AP: 35.0

mmdet/models/detectors/d2_wrapper.py Outdated Show resolved Hide resolved
mmdet/models/detectors/d2_wrapper.py Outdated Show resolved Hide resolved
mmdet/models/detectors/d2_wrapper.py Outdated Show resolved Hide resolved
configs/common/ms-90k_coco-detection.py Outdated Show resolved Hide resolved
configs/common/ms-poly-90k_coco-instance.py Outdated Show resolved Hide resolved
mmdet/models/detectors/d2_wrapper.py Outdated Show resolved Hide resolved
mmdet/models/detectors/d2_wrapper.py Outdated Show resolved Hide resolved
configs/common/ms-90k_coco-detection.py Outdated Show resolved Hide resolved
configs/common/ms-90k_coco-detection.py Outdated Show resolved Hide resolved
configs/common/ms-poly-90k_coco-instance.py Show resolved Hide resolved
configs/common/ms-poly-90k_coco-instance.py Show resolved Hide resolved
mmdet/models/detectors/d2_wrapper.py Outdated Show resolved Hide resolved
docs/zh_cn/advanced_guides/how_to.md Outdated Show resolved Hide resolved
docs/zh_cn/advanced_guides/how_to.md Show resolved Hide resolved
docs/zh_cn/advanced_guides/how_to.md Outdated Show resolved Hide resolved
docs/zh_cn/advanced_guides/how_to.md Outdated Show resolved Hide resolved
mmdet/models/detectors/d2_wrapper.py Outdated Show resolved Hide resolved
configs/common/ms-90k_coco-detection.py Outdated Show resolved Hide resolved
configs/misc/d2_faster-rcnn_r50-caffe_fpn_ms-90k_coco.py Outdated Show resolved Hide resolved
tools/model_converters/d2_2_mmdet.py Outdated Show resolved Hide resolved
@ZwwWayne ZwwWayne modified the milestones: 3.0.0rc2, 3.0.0rc3 Oct 21, 2022
hhaAndroid
hhaAndroid previously approved these changes Oct 25, 2022
configs/common/ms-90k_coco.py Show resolved Hide resolved
configs/common/ms-90k_coco.py Outdated Show resolved Hide resolved
configs/common/ms-poly-90k_coco-instance.py Show resolved Hide resolved
@ZwwWayne ZwwWayne merged commit 9c1b267 into open-mmlab:dev-3.x Nov 1, 2022
@BIGWangYuDong BIGWangYuDong deleted the d2-wrapper branch April 27, 2023 18:04
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.

None yet

5 participants