From 8f70650295cf808b529d2a86918562acbf825974 Mon Sep 17 00:00:00 2001 From: Fredo Guan Date: Tue, 31 Jan 2023 16:45:38 -0800 Subject: [PATCH] Update metaformers.py --- timm/models/metaformers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timm/models/metaformers.py b/timm/models/metaformers.py index 07d150c9..7a90b448 100644 --- a/timm/models/metaformers.py +++ b/timm/models/metaformers.py @@ -630,7 +630,7 @@ def _cfg(url='', **kwargs): 'num_classes': 1000, 'input_size': (3, 224, 224), 'pool_size': (7, 7), 'crop_pct': 1.0, 'interpolation': 'bicubic', 'mean': IMAGENET_DEFAULT_MEAN, 'std': IMAGENET_DEFAULT_STD, - 'classifier': 'head.fc', 'first_conv': 'patch_embed.conv', + 'classifier': 'head.fc', 'first_conv': 'stem.conv', **kwargs }