SE-ResNet-101 feature-extracting backbone (no classification head).
Builds an SENet with ResNet-101 topology
(_SEBottleneck blocks stacked [3, 4, 23, 3]) plus
squeeze-and-excitation modules. Approximately 49.3M
parameters and 78.3% ImageNet-1k top-1 accuracy in Hu et al.,
2018 (Table 2) versus 77.4% for plain ResNet-101.
Model Size
Parameters
pretrainedbool= FalseReserved for future pretrained-weight loading. Currently
ignored.
**overridesobject= {}Keyword overrides forwarded into
SENetConfig.Returns
SENetBackbone with the SE-ResNet-101 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_101
>>> model = se_resnet_101()
>>> x = lucid.randn(1, 3, 224, 224)
>>> out = model(x)
>>> out.last_hidden_state.shape
(1, 2048, 7, 7)