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 DetInferencer #9561

Merged
merged 22 commits into from
Feb 10, 2023
Merged

Conversation

hhaAndroid
Copy link
Collaborator

@hhaAndroid hhaAndroid commented Jan 3, 2023

Motivation

Support for new inference classes

Use cases

# Save visualizations and predictions results
python demo/image_demo.py demo/demo.jpg rtmdet-s
python demo/image_demo.py demo/demo.jpg rtmdet_s_8xb32-300e_coco
python demo/image_demo.py demo/demo.jpg \
           configs/rtmdet/rtmdet_s_8xb32-300e_coco.py \
           --weights rtmdet_s_8xb32-300e_coco_20220905_161602-387a891e.pth

# show
python demo/image_demo.py demo/demo.jpg rtmdet-s --show

# folder
python demo/image_demo.py your_image_dir rtmdet-s --show

# batch size
python demo/image_demo.py your_image_dir  rtmdet-s --batch-size 4

@hhaAndroid
Copy link
Collaborator Author

@gaotongxiao

mmdet/apis/det_inferencer.py Outdated Show resolved Hide resolved
mmdet/apis/det_inferencer.py Outdated Show resolved Hide resolved
mmdet/apis/det_inferencer.py Outdated Show resolved Hide resolved
@hhaAndroid hhaAndroid requested review from gaotongxiao and HAOCHENYE and removed request for gaotongxiao January 4, 2023 11:24
demo/image_demo.py Outdated Show resolved Hide resolved
@ZwwWayne ZwwWayne added this to the 3.0.0rc6 milestone Jan 9, 2023
@hhaAndroid hhaAndroid requested review from RangeKing and gaotongxiao and removed request for RangeKing and gaotongxiao February 1, 2023 09:26
@hhaAndroid hhaAndroid changed the title [Feature] Support MMDetInferencer [Feature] Support DetInferencer Feb 1, 2023
@ZwwWayne ZwwWayne requested review from gaotongxiao and removed request for RangeKing February 1, 2023 11:41
@hhaAndroid hhaAndroid requested review from RangiLyu and removed request for gaotongxiao February 7, 2023 09:47
demo/image_demo.py Outdated Show resolved Hide resolved
@hhaAndroid hhaAndroid requested review from RangiLyu and removed request for gaotongxiao February 9, 2023 08:13
@ZwwWayne ZwwWayne merged commit 42c1a8a into open-mmlab:dev-3.x Feb 10, 2023
yumion pushed a commit to yumion/mmdetection that referenced this pull request Jan 31, 2024
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.

None yet

6 participants