facebookresearch / ConvNeXt

Code release for ConvNeXt model
MIT License
5.78k stars 696 forks source link

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

Open Carson-T opened 1 year ago

Carson-T commented 1 year ago

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 commented 1 year ago

try to reinstall timm and set timm==0.6.11