Skip to content

[BUG] AttributeError: module 'timm.models._registry' has no attribute 'get_pretrained_cfgs_for_arch'. Did you mean: 'get_pretrained_cfg_value' #2303

@Benjamin-Tan

Description

@Benjamin-Tan

Describe the bug
As per title.

To Reproduce
Steps to reproduce the behavior:

  1. pip3 install timm
  2. python3 -c "from timm.models.registry import register_model"

Expected behavior
No error and register_model is imported without any error

Screenshots
timm_registry_import_error

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • timm version: 1.0.10
  • PyTorch version w/ CUDA/cuDNN : torch version: 2.4.0+cu118

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions