MCPcopy Create free account
hub / github.com/MotrixLab/insactor / build_from_cfg

Function build_from_cfg

diffplanner/models/builder.py:5–8  ·  view source on GitHub ↗
(cfg, registry, default_args=None)

Source from the content-addressed store, hash-verified

3
4
5def build_from_cfg(cfg, registry, default_args=None):
6 if cfg is None:
7 return None
8 return MMCV_MODELS.build_func(cfg, registry, default_args)
9
10
11MODELS = Registry('models', parent=MMCV_MODELS, build_func=build_from_cfg)

Callers 2

build_datasetFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected