Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

I can not use 'timm.create_model' to create my convnext #145

Open
Carson-T opened this issue Jun 11, 2023 · 1 comment
Open

I can not use 'timm.create_model' to create my convnext #145

Carson-T opened this issue Jun 11, 2023 · 1 comment

Comments

@Carson-T
Copy link

it raised the following error while I use create_model:
TypeError: init() got an unexpected keyword argument 'pretrained_cfg'

Then I found that it is the different timm version leads to this problem. My timm version is 0.9.2 while your required version is 0.4. I want to know how can I use create_model without reducing the version

@BarryGUN
Copy link

BarryGUN commented Aug 1, 2023

try to reinstall timm and set timm==0.6.11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants