From 924a64f051a7636157ed69bf5535c207f5ce42c5 Mon Sep 17 00:00:00 2001
From: Fredo Guan <fredo.guan@hotmail.com>
Date: Wed, 18 Jan 2023 09:30:16 -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 a819421c..bcc8dff8 100644
--- a/timm/models/metaformers.py
+++ b/timm/models/metaformers.py
@@ -693,7 +693,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', 'first_conv': 'patch_embed.conv',
+        'classifier': 'head.fc', 'first_conv': 'patch_embed.conv',
         **kwargs
     }