mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
## 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
16 lines
836 B
Python
16 lines
836 B
Python
# Copyright (c) OpenMMLab. All rights reserved.
|
|
from .registry import (DATA_SAMPLERS, DATASETS, EVALUATOR, HOOKS, INFERENCERS,
|
|
LOG_PROCESSORS, LOOPS, METRICS, MODEL_WRAPPERS, MODELS,
|
|
OPTIM_WRAPPER_CONSTRUCTORS, OPTIM_WRAPPERS, OPTIMIZERS,
|
|
PARAM_SCHEDULERS, RUNNER_CONSTRUCTORS, RUNNERS,
|
|
TASK_UTILS, TRANSFORMS, VISBACKENDS, VISUALIZERS,
|
|
WEIGHT_INITIALIZERS)
|
|
|
|
__all__ = [
|
|
'HOOKS', 'DATASETS', 'DATA_SAMPLERS', 'TRANSFORMS', 'MODELS',
|
|
'WEIGHT_INITIALIZERS', 'OPTIMIZERS', 'OPTIM_WRAPPER_CONSTRUCTORS',
|
|
'TASK_UTILS', 'PARAM_SCHEDULERS', 'METRICS', 'MODEL_WRAPPERS',
|
|
'VISBACKENDS', 'VISUALIZERS', 'RUNNERS', 'RUNNER_CONSTRUCTORS', 'LOOPS',
|
|
'EVALUATOR', 'LOG_PROCESSORS', 'OPTIM_WRAPPERS', 'INFERENCERS'
|
|
]
|