Commit Graph

5 Commits (9b6c4b7e988c4a5156a3ae39cdd904094e42134d)

Author SHA1 Message Date
谢昕辰 4dc4ed9650
[Fix] Remove locations of not exists modules in the registry (#2829)
## Motivation

If the module does not actually exist, setting locations will report an
error.

https://github.com/open-mmlab/mmengine/pull/1010

## Modification

mmseg/registry/registry.py
2023-04-03 17:29:53 +08:00
谢昕辰 039ba5d4ca
[Feature] Support auto import modules from registry. (#2481)
## 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
https://github.com/open-mmlab/mmengine/pull/643. The MMEngine version
should be updated.

Ref: https://github.com/open-mmlab/mmdetection/pull/9143
2023-02-23 20:33:17 +08:00
Miao Zheng e0499d5a77 [Fix] Fix repo based on refactoring standard (#1869)
* [Fix] Fix repo based on refactory standard

* fix ut
2022-08-19 20:50:02 +08:00
zhengmiao 478da81c8b [Fix] Optimizer-> OptimWrapper 2022-06-02 05:19:36 +00:00
linfangjian.vendor 7a32d610e4 [Refactor] Refactor all registries 2022-05-10 12:15:20 +00:00