Add pretrained weights for seresnet18

pull/1/head
Ross Wightman 2019-04-13 14:52:21 -07:00
parent 8a33a6c90a
commit 79f615639e
1 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@ def _cfg(url='', **kwargs):
'crop_pct': 0.875, 'interpolation': 'bilinear', 'crop_pct': 0.875, 'interpolation': 'bilinear',
'mean': IMAGENET_DEFAULT_MEAN, 'std': IMAGENET_DEFAULT_STD, 'mean': IMAGENET_DEFAULT_MEAN, 'std': IMAGENET_DEFAULT_STD,
'first_conv': 'layer0.conv1', 'classifier': 'last_linear', 'first_conv': 'layer0.conv1', 'classifier': 'last_linear',
**kwargs
} }
@ -36,7 +37,8 @@ default_cfgs = {
'senet154': 'senet154':
_cfg(url='http://data.lip6.fr/cadene/pretrainedmodels/senet154-c7b49a05.pth'), _cfg(url='http://data.lip6.fr/cadene/pretrainedmodels/senet154-c7b49a05.pth'),
'seresnet18': 'seresnet18':
_cfg(url=''), _cfg(url='https://www.dropbox.com/s/3o3nd8mfhxod7rq/seresnet18-4bb0ce65.pth?dl=1',
interpolation='bicubic'),
'seresnet34': 'seresnet34':
_cfg(url='https://www.dropbox.com/s/q31ccy22aq0fju7/seresnet34-a4004e63.pth?dl=1'), _cfg(url='https://www.dropbox.com/s/q31ccy22aq0fju7/seresnet34-a4004e63.pth?dl=1'),
'seresnet50': 'seresnet50':