Skip to content

Commit 2e19618

Browse files
committed
bugfix: update for mobilenet_v3_small stage_idxs & out_channels
1 parent 01f509e commit 2e19618

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

segmentation_models_pytorch/encoders/mobilenet_v3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ def load_state_dict(self, state_dict, **kwargs):
9595
"imagenet": {
9696
"mean": [0.485, 0.456, 0.406],
9797
"std": [0.229, 0.224, 0.225],
98-
"url": "https://download.pytorch.org/models/mobilenet_v2_small-047dcff4.pth",
98+
"url": "https://download.pytorch.org/models/mobilenet_v3_small-047dcff4.pth",
9999
"input_space": "RGB",
100100
"input_range": [0, 1],
101101
},
102102
},
103103
"params": {
104-
"out_channels": (3, 16, 16, 24, 48, 576),
104+
"out_channels": (3, 16, 16, 24, 40, 576),
105105
"stage_idxs": (1, 2, 4, 7),
106106
"model_name": "mobilenet_v3_small",
107107
},

0 commit comments

Comments
 (0)