From a8c56cb86c7ab636ef07adb0acbc2b0b3ab78ed7 Mon Sep 17 00:00:00 2001 From: Fredo Guan Date: Fri, 16 Dec 2022 02:33:44 -0800 Subject: [PATCH] Update davit.py --- timm/models/davit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timm/models/davit.py b/timm/models/davit.py index 8bae9938..a51c8243 100644 --- a/timm/models/davit.py +++ b/timm/models/davit.py @@ -603,7 +603,7 @@ def _cfg(url='', **kwargs): # not sure how this should be set up 'num_classes': 1000, 'input_size': (3, 224, 224), 'pool_size': (7, 7), 'crop_pct': 0.875, 'interpolation': 'bilinear', 'mean': IMAGENET_DEFAULT_MEAN, 'std': IMAGENET_DEFAULT_STD, - 'first_conv': 'stages.0.patch_embed.proj', 'classifier': 'head.fc', + 'first_conv': 'patch_embed.proj', 'classifier': 'head.fc', **kwargs }