Shortcuts

mmengine.registry.count_registered_modules

mmengine.registry.count_registered_modules(save_path=None, verbose=True)[source]

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

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

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

Returns:

Statistic results of all registered modules.

Return type:

dict