Shortcuts

mmengine.registry

Registry

A registry to map strings to classes or functions.

DefaultScope

Scope of current task used to reset the current registry, which can be accessed globally.

build_from_cfg

Build a module from config dict when it is a class configuration, or call a function from config dict when it is a function configuration.

build_model_from_cfg

Build a PyTorch model from config dict(s).

build_runner_from_cfg

Build a Runner object.

build_scheduler_from_cfg

Builds a ParamScheduler instance from config.

count_registered_modules

Scan all modules in MMEngine’s root and child registries and dump to json.

traverse_registry_tree

Traverse the whole registry tree from any given node, and collect information of all registered modules in this registry tree.

Read the Docs v: v0.3.0
Versions
latest
stable
v0.5.0
v0.4.0
v0.3.0
v0.2.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.