mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Fix wrong name in _all_ for models._registry
This commit is contained in:
parent
b4a9a166c3
commit
60f517c883
@ -16,7 +16,7 @@ from ._pretrained import PretrainedCfg, DefaultCfg
|
|||||||
__all__ = [
|
__all__ = [
|
||||||
'split_model_name_tag', 'get_arch_name', 'register_model', 'generate_default_cfgs',
|
'split_model_name_tag', 'get_arch_name', 'register_model', 'generate_default_cfgs',
|
||||||
'list_models', 'list_pretrained', 'is_model', 'model_entrypoint', 'list_modules', 'is_model_in_modules',
|
'list_models', 'list_pretrained', 'is_model', 'model_entrypoint', 'list_modules', 'is_model_in_modules',
|
||||||
'get_pretrained_cfg_value', 'is_model_pretrained', 'get_pretrained_cfgs_for_arch'
|
'get_pretrained_cfg_value', 'is_model_pretrained', 'get_arch_pretrained_cfgs'
|
||||||
]
|
]
|
||||||
|
|
||||||
_module_to_models: Dict[str, Set[str]] = defaultdict(set) # dict of sets to check membership of model in module
|
_module_to_models: Dict[str, Set[str]] = defaultdict(set) # dict of sets to check membership of model in module
|
||||||
|
Loading…
x
Reference in New Issue
Block a user