mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Add first_conv for mambaout
This commit is contained in:
parent
5dc5ee5b42
commit
7efb60c299
@ -314,7 +314,6 @@ class MambaOut(nn.Module):
|
||||
drop_path_rate=0.,
|
||||
drop_rate=0.,
|
||||
head_fn='default',
|
||||
**kwargs,
|
||||
):
|
||||
super().__init__()
|
||||
self.num_classes = num_classes
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user