All models

VGG-19

A deep convolutional network for image classification built from stacks of small 3x3 filters.

Image classification · 47 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (16 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
VGG
Parameters
143.7M
Operations
47
Framework
PyTorch
Recurrent
No
Published
2014
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m10855
Graph hash
4a47054b7888cc66d0953880e3f4cf671d8280279f16c715c44af49fc67e37e1
Skeleton hash
5abf0962d99a55f713f6bd08251847e1dbd1b88a0a6ba54ddc260268bcf63bd1
Architecture hash
a7ba7bb037e1dd4d24e5344b348b3a095fa4da79416fc2df25b4ed46368a124c
Diagram SHA-256
1141e1d212cc69084b331b2530a1cd6eb130160ee8c5425075ab7c2638b3fc23
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

timm.create_model('vgg19', pretrained=False)

What it is

This model is the 19-layer VGG, configuration E in the paper.

About this model's family

VGG is a set of deep convolutional networks for image classification, built to test how much depth by itself improves accuracy. The paper's main finding is that, with very small 3x3 convolution filters, pushing the depth to 16-19 weight layers gives a significant improvement over earlier configurations.

Every configuration follows one plan: stacks of 3x3 convolutions, five max-pooling layers, then three fully-connected layers, the first two with 4096 channels each. The configurations differ only in depth, from 11 weight layers in network A to 19 in network E. The paper argues for a stack of three 3x3 layers over a single 7x7 layer because it brings in three non-linear rectification layers instead of one and needs fewer parameters.

The work was the basis of the authors' ImageNet Challenge 2014 submission, which took first place in the localization track and second in classification. In the paper's experiments local response normalization did not improve the 11-layer network, so the deeper configurations do not use it. The timm implementation, which adds versions with batch normalization, is adapted from the vgg.py of the pytorch/vision repository.

Key idea. A thorough evaluation of networks with very small 3x3 convolution filters showed that pushing depth to 16-19 weight layers significantly improves on earlier configurations.

  • VGG
  • vgg11
  • very deep convolutional networks
  • vgg16
  • vgg19
  • visual geometry group
  • 3x3 convolutions
  • image classification
  • ConvNet

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.