Inception-v4
7 memberslucid.models.vision.inception_v4Inception-v4 family — Szegedy et al., 2017.
Szegedy, Christian, et al. "Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning." Proceedings of the AAAI Conference on Artificial Intelligence, vol. 31, no. 1, 2017, pp. 4278–4284.
Inception-v4 is the purely non-residual member of the 2016 Inception generation. Where Inception v3 had grown piecemeal — each stage partitioned differently so the model could be trained across many machines under memory limits — Inception-v4 re-draws the whole network as a uniform design: one fixed stem, three kinds of Inception module repeated in blocks, and two dedicated reduction modules between them. Every module is a set of parallel branches whose outputs are concatenated along the channel axis,
where each branch is a short chain of convolutions (or a pooling followed by a projection), each followed by batch normalisation and a ReLU.
The layout is Stem → 4× Inception-A () → Reduction-A → 7× Inception-B () → Reduction-B → 3× Inception-C () → global average pool → dropout (keep 0.8) → linear classifier. The stem itself is multi-branch: three filter-concatenation junctions take a image to a grid, and every spatial reduction in it runs a stride-2 convolution and a stride-2 max pool side by side instead of choosing one. Large kernels are factorised throughout — an convolution becomes a followed by an , which covers the same receptive field for rather than weights per input–output channel pair.
The paper's point in building Inception-v4 alongside Inception-ResNet was a controlled comparison: with a comparable compute budget, residual connections speed training up markedly but are not what makes a very deep Inception network accurate — Inception-v4 reaches roughly the accuracy of Inception-ResNet-v2 (single-crop top-5 error 5.0% on the ImageNet validation set, against 4.9%) with no shortcuts at all.
Classes
InceptionV4Config1 methodsFrozen configuration for Inception-v4.
InceptionV44 methodsInception-v4 feature-extracting backbone.
InceptionV4ForImageClassification3 methodsInception-v4 image classifier (trunk + GAP + dropout + linear).
InceptionV4Output1 methodsStructured forward output for InceptionV4ForImageClassification.