forked from keras-team/keras-hub
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
"""MobileNet model preset configurations.""" | ||
|
||
backbone_presets_no_weights = { | ||
"mobilenet_v3_small": { | ||
"metadata": { | ||
"description": ( | ||
"MobileNetV3 model with 14 layers where the batch " | ||
"normalization and hard-swish activation are applied after the " | ||
"convolution layers." | ||
), | ||
"params": 933502, | ||
"official_name": "MobileNetV3", | ||
"path": "mobilenetv3", | ||
}, | ||
"kaggle_handle": "kaggle://keras/mobilenetv3/keras/mobilenet_v3_small/2", # noqa: E501 | ||
}, | ||
"mobilenet_v3_large": { | ||
"metadata": { | ||
"description": ( | ||
"MobileNetV3 model with 28 layers where the batch " | ||
"normalization and hard-swish activation are applied after the " | ||
"convolution layers." | ||
), | ||
"params": 2994518, | ||
"official_name": "MobileNetV3", | ||
"path": "mobilenetv3", | ||
}, | ||
"kaggle_handle": "kaggle://keras/mobilenetv3/keras/mobilenet_v3_large/2", # noqa: E501 | ||
}, | ||
} | ||
|
||
backbone_presets_with_weights = { | ||
"mobile_net_v3_large": { | ||
"metadata": { | ||
"description": ( | ||
"MobileNetV3 model with 28 layers where the batch " | ||
"normalization and hard-swish activation are applied after the " | ||
"convolution layers. " | ||
"Pre-trained on the ImageNet 2012 classification task." | ||
), | ||
"params": 2994518, | ||
"official_name": "MobileNetV3", | ||
"path": "mobilenetv3", | ||
}, | ||
"kaggle_handle": "kaggle://alexbutcher/mobilenet/keras/mobile_net_v3_large/1", | ||
# "kaggle_handle": "kaggle://keras/mobilenetv3/keras/mobilenet_v3_large_imagenet/2", # noqa: E501 | ||
}, | ||
# "mobilenet_v3_small_imagenet": { | ||
# "metadata": { | ||
# "description": ( | ||
# "MobileNetV3 model with 14 layers where the batch " | ||
# "normalization and hard-swish activation are applied after the " | ||
# "convolution layers. " | ||
# "Pre-trained on the ImageNet 2012 classification task." | ||
# ), | ||
# "params": 933502, | ||
# "official_name": "MobileNetV3", | ||
# "path": "mobilenetv3", | ||
# }, | ||
# "kaggle_handle": "kaggle://keras/mobilenetv3/keras/mobilenet_v3_small_imagenet/2", # noqa: E501 | ||
# }, | ||
} | ||
|
||
backbone_presets = { | ||
# **backbone_presets_no_weights, | ||
**backbone_presets_with_weights, | ||
} |