From 5db1eb6ba56f35fce8bc06e85c7339e7c714a4f4 Mon Sep 17 00:00:00 2001 From: Aman Arora Date: Fri, 21 May 2021 02:11:20 +0000 Subject: [PATCH] Add defaults --- timm/models/convit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/timm/models/convit.py b/timm/models/convit.py index 29970c76..31c05df3 100644 --- a/timm/models/convit.py +++ b/timm/models/convit.py @@ -19,8 +19,9 @@ import torch.nn as nn def _cfg(url='', **kwargs): return { 'url': url, - 'num_classes': 1000, 'input_size': (3, 224, 224), + 'num_classes': 1000, 'input_size': (3, 224, 224), 'pool_size': None, 'mean': IMAGENET_DEFAULT_MEAN, 'std': IMAGENET_DEFAULT_STD, + 'first_conv': 'patch_embed.proj', 'classifier': 'head', **kwargs }