Skip to content
fn

mobilenet_050

→MobileNet819K
mobilenet_050(pretrained: bool = False, overrides: object = {})

MobileNet-v1 backbone at width multiplier α=0.5\alpha = 0.5.

Builds a MobileNet with every channel count multiplied by 0.5 — approximately 1.3M parameters. Howard et al., 2017 report 63.7% ImageNet-1k top-1 accuracy with this configuration (Table 6), at roughly 27% of the FLOPs of the full-width model.

Model Size

Parameters

pretrainedbool= False
No checkpoint is published for mobilenet_050, so True raises NotImplementedError rather than return randomly initialised weights. mobilenet_cls is the checkpointed variant.
**overridesobject= {}
Keyword overrides forwarded into MobileNetConfig.

Returns

MobileNet

Backbone with the MobileNet-v1 (α=0.5\alpha = 0.5) configuration applied (or with overrides merged on top of it).

Notes

See Howard et al., "MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications", arXiv:1704.04861, 2017, Table 6.

Examples

>>> import lucid
>>> from lucid.models.vision.mobilenet import mobilenet_050
>>> model = mobilenet_050()
>>> x = lucid.randn(1, 3, 224, 224)
>>> out = model(x)
>>> out.last_hidden_state.shape
(1, 512, 7, 7)

Used by 1