mmengine/tests
Mashiro 6b608b4ef1
[Enhance] Add `build_model_from_cfg` (#328)
* clean code

* fix as comment

* fix as comment

* add get_registry_by_scope method

* add unit test and docstring example

* rename get_registry_by_scope to switch_scope_and_registry

* move build function to registry/builder

* fix docstring

* rename builder->registry_builder, move build_from_cfg to registry_builder

rename builder->registry_builder, move build_from_cfg to registry_builder

* rename registry_builder to build_function

rename registry_builder to build_function

* fix docstring and type hint

* rename build_function to build_functions
2022-07-13 19:01:59 +08:00
..
data [Enhance] Update config with newest mmcv and show custom imports error explicitly (#192) 2022-05-06 22:59:54 +08:00
test_config Add pyupgrade pre-commit hook (#232) 2022-05-19 17:56:31 +08:00
test_data [Enhance] Refine BaseDataset (#303) 2022-06-27 14:59:56 +08:00
test_device [Feat] Support training on MPS (#331) 2022-06-23 16:53:19 +08:00
test_dist [Fix]: fix RuntimeError of SyncBuffersHook (#309) 2022-06-22 20:00:46 +08:00
test_evaluator [Feature] Dump predictions to a pickle file for offline evaluation. (#293) 2022-06-14 14:48:21 +08:00
test_hook [Fix] Fix ema hook and add unit test (#327) 2022-07-04 14:23:23 +08:00
test_logging [Enhance] LogProcessor support custom significant digit (#311) 2022-06-22 19:35:52 +08:00
test_model [Fix]: fix MMSeparateDistributedDataParallel (#338) 2022-06-28 22:20:20 +08:00
test_optim [Fix] Fix loss could be nan in optimizer wrapper (#345) 2022-07-06 16:42:49 +08:00
test_registry [Enhance] Add `build_model_from_cfg` (#328) 2022-07-13 19:01:59 +08:00
test_runner [Fix] Fix build multiple runners error (#348) 2022-07-05 20:35:06 +08:00
test_utils [Feat] Support revert syncbn (#326) 2022-06-22 19:50:54 +08:00
test_visualizer