VGG-19 feature-extracting backbone (config E, no BatchNorm).
Builds a VGG with the paper-cited VGG-19 topology:
per-block convolution counts (2, 2, 4, 4, 4) — four
convolutions in each of the deeper blocks.
Approximately 143.7 M parameters in the full classifier variant.
Reaches a top-5 ImageNet validation error of 7.5% (Simonyan &
Zisserman, ICLR 2015, Table 3, configuration E) — slightly worse
than VGG-16 due to optimisation difficulty at this depth without
residual connections.
Model Size
Parameters
pretrainedbool= FalseReserved for future pretrained-weight loading. Currently
ignored.
**overridesobject= {}Keyword overrides forwarded into
VGGConfig.Returns
VGGBackbone with the VGG-19 configuration applied (or with
overrides merged on top of it).
Notes
See Simonyan & Zisserman, ICLR 2015, Table 1 (configuration E).
Examples
>>> import lucid
>>> from lucid.models.vision.vgg import vgg_19
>>> model = vgg_19()
>>> x = lucid.randn(1, 3, 224, 224)
>>> out = model(x)
>>> out.last_hidden_state.shape # (B, 512, 7, 7)
(1, 512, 7, 7)