Skip to content

Commit

Permalink
Add first_conv for mambaout
Browse files Browse the repository at this point in the history
  • Loading branch information
rwightman committed Sep 14, 2024
1 parent 02d29de commit 36ecd37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timm/models/mambaout.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ def __init__(
drop_path_rate=0.,
drop_rate=0.,
head_fn='default',
**kwargs,
):
super().__init__()
self.num_classes = num_classes
Expand Down Expand Up @@ -461,7 +460,8 @@ def _cfg(url='', **kwargs):
'url': url,
'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',
'mean': IMAGENET_DEFAULT_MEAN, 'std': IMAGENET_DEFAULT_STD,
'first_conv': 'stem.conv1', 'classifier': 'head.fc',
**kwargs
}

Expand Down

0 comments on commit 36ecd37

Please sign in to comment.