Skip to content
fn

efficientnet_b3

→EfficientNet
efficientnet_b3(pretrained: bool = False, overrides: object = {})

EfficientNet-B3 feature-extracting backbone (compound coefficient ϕ=2\phi = 2).

Builds an EfficientNet with width multiplier 1.2 and depth multiplier 1.4. Approximately 12M parameters and 81.6% ImageNet-1k top-1 accuracy at the 300×300 native resolution (Tan & Le, 2019, Table 2).

Model Size

Parameters

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

Returns

EfficientNet

Backbone with the B3 configuration applied (or with overrides merged on top of it).

Notes

See Tan & Le, "EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks", ICML 2019 (arXiv:1905.11946), Table 2. Head expansion: round(1280 · 1.2) = 1536 channels.

Examples

>>> import lucid
>>> from lucid.models.vision.efficientnet import efficientnet_b3
>>> model = efficientnet_b3()
>>> x = lucid.randn(1, 3, 300, 300)
>>> out = model(x)
>>> out.last_hidden_state.shape
(1, 1536, 1, 1)

Used by 1