All models

VGG-11

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

Image classification · 31 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 (39 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
132.9M
Operations
31
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
m10837
Graph hash
7552fdd74782779c36312993a63f08564122d3bf30ff3149a60b873f3cb9bb08
Skeleton hash
460b3cd78f7fa1c0068723793b3d1d11bd19083f96e3639c9779842bbf1d757a
Architecture hash
5af6e284ce4c309a359116eb047cefd0b2c5efecd3c5913be2d28782e1e1d5ff
Diagram SHA-256
2684e77118627aedd9b6e658a99157d54b2fb16dc713649c1ec2a2f5e3ce00bb
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('vgg11', pretrained=False)

What it is

This model is the 11-layer VGG, configuration A 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.