Skip to content

Commit

Permalink
Add some more small model weights lcnet, mnas, mnv2
Browse files Browse the repository at this point in the history
  • Loading branch information
rwightman committed Jan 15, 2022
1 parent fa6463c commit 9ca3437
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 5 additions & 2 deletions timm/models/efficientnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def _cfg(url='', **kwargs):
'mnasnet_140': _cfg(url=''),

'semnasnet_050': _cfg(url=''),
'semnasnet_075': _cfg(url=''),
'semnasnet_075': _cfg(
url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/semnasnet_075-18710866.pth'),
'semnasnet_100': _cfg(
url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/mnasnet_a1-d9418771.pth'),
'semnasnet_140': _cfg(url=''),
Expand All @@ -83,7 +84,9 @@ def _cfg(url='', **kwargs):
'mobilenetv2_035': _cfg(
url=''),
'mobilenetv2_050': _cfg(
url=''),
url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/mobilenetv2_050-3d30d450.pth',
interpolation='bicubic',
),
'mobilenetv2_075': _cfg(
url=''),
'mobilenetv2_100': _cfg(
Expand Down
10 changes: 8 additions & 2 deletions timm/models/mobilenetv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,14 @@ def _cfg(url='', **kwargs):
input_size=(3, 240, 240), test_input_size=(3, 288, 288), crop_pct=0.95),

"lcnet_035": _cfg(),
"lcnet_050": _cfg(),
"lcnet_075": _cfg(),
"lcnet_050": _cfg(
url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/lcnet_050-f447553b.pth',
interpolation='bicubic',
),
"lcnet_075": _cfg(
url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/lcnet_075-318cad2c.pth',
interpolation='bicubic',
),
"lcnet_100": _cfg(
url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/lcnet_100-a929038c.pth',
interpolation='bicubic',
Expand Down

0 comments on commit 9ca3437

Please sign in to comment.