Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

[Feature] Support auto import modules from registry.#9143

Merged
ZwwWayne merged 14 commits intoopen-mmlab:dev-3.xfrom
RangiLyu:auto_import
Feb 7, 2023
Merged

[Feature] Support auto import modules from registry.#9143
ZwwWayne merged 14 commits intoopen-mmlab:dev-3.xfrom
RangiLyu:auto_import

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
@RangiLyu RangiLyu requested a review from hhaAndroid February 3, 2023 10:11
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
CobaltConcrete pushed a commit to CobaltConcrete/mmsegmentation that referenced this pull request Jul 5, 2025
## 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
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.

6 participants