SE-ResNet-34 feature-extracting backbone (no classification head).
Builds an SENet with ResNet-34 topology
(_SEBasicBlock blocks stacked [3, 4, 6, 3]) plus
squeeze-and-excitation modules. Approximately 21.9M
parameters. A drop-in upgrade over plain ResNet-34 with
typical 1.0–1.5 point ImageNet top-1 gain.
Model Size
Parameters
pretrainedbool= FalseReserved for future pretrained-weight loading. Currently
ignored.
**overridesobject= {}Keyword overrides forwarded into
SENetConfig.Returns
SENetBackbone with the SE-ResNet-34 configuration applied (or
with overrides merged on top of it).
Notes
See Hu et al., "Squeeze-and-Excitation Networks", CVPR 2018 (arXiv:1709.01507), Table 2.
Examples
>>> import lucid
>>> from lucid.models.vision.senet import se_resnet_34
>>> model = se_resnet_34()
>>> x = lucid.randn(1, 3, 224, 224)
>>> out = model(x)
>>> out.last_hidden_state.shape
(1, 512, 7, 7)