Shortcuts

mmpretrain.utils.register_all_modules

mmpretrain.utils.register_all_modules(init_default_scope=True)[源代码]

Register all modules in mmpretrain into the registries.

参数:

init_default_scope (bool) – Whether initialize the mmpretrain default scope. If True, the global default scope will be set to mmpretrain, and all registries will build modules from mmpretrain’s registry node. To understand more about the registry, please refer to https://github.com/open-mmlab/mmengine/blob/main/docs/en/tutorials/registry.md Defaults to True.

Read the Docs v: latest
Versions
latest
stable
mmcls-1.x
mmcls-0.x
dev
Downloads
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.