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 auto import modules from registry. #9143

Merged
merged 14 commits into from
Feb 7, 2023

Conversation

RangiLyu
Copy link
Member

@RangiLyu RangiLyu commented Oct 26, 2022

Motivation

The registry now supports auto-import modules from the given location.

register_all_modules before running is no longer needed. The modules will be lazy-imported during building.

resolve open-mmlab/mmyolo#312

@ZwwWayne ZwwWayne assigned RangiLyu and unassigned wanghonglie Nov 8, 2022
@ZwwWayne ZwwWayne added this to the 3.0.0rc5 milestone Nov 21, 2022
@RangiLyu RangiLyu marked this pull request as ready for review November 28, 2022 03:44
@RangiLyu RangiLyu changed the title [Draft][Feature] Support auto import modules from registry. [Feature] Support auto import modules from registry. Nov 28, 2022
@RangiLyu RangiLyu added pending enhancement New feature or request v-3.x labels Nov 28, 2022
tools/deployment/test_torchserver.py Outdated Show resolved Hide resolved
tools/deployment/mmdet_handler.py Outdated Show resolved Hide resolved
mmdet/registry.py Show resolved Hide resolved
Copy link
Collaborator

@BIGWangYuDong BIGWangYuDong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZwwWayne ZwwWayne merged commit 2fe0ec4 into open-mmlab:dev-3.x Feb 7, 2023
MeowZheng pushed a commit to open-mmlab/mmsegmentation that referenced this pull request Feb 23, 2023
## Motivation

The registry now supports auto-import modules from the given location.

register_all_modules before running is no longer needed. The modules
will be lazy-imported during building.

- [x] This PR can be merged after
open-mmlab/mmengine#643. The MMEngine version
should be updated.

Ref: open-mmlab/mmdetection#9143
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
enhancement New feature or request v-3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants