Shortcuts

mmengine.registry.count_registered_modules

mmengine.registry.count_registered_modules(save_path=None, verbose=True)[源代码]

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

参数:
  • save_path (str, optional) – Path to save the json file.

  • verbose (bool) – Whether to print log. Defaults to True.

返回:

Statistic results of all registered modules.

返回类型:

dict