All models

vgg16_bn

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

Image classification · 54 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
138.4M
Operations
54
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
m10852
Graph hash
88b357f5039b0f6e3ef2906349a4c1f22bce78046e1ef31d75197bcfb69d9887
Skeleton hash
82d096cdb32cbe12f175cc6472b9ce3f9034b1e48651bf223828af47653759fb
Architecture hash
a0664f6c1bc00bd08c97f08503fa3746e7865f1e8f2441825b98cf4969c401fe
Diagram SHA-256
846122b07562f49ccbba1a589bea7d5f3e8beb6d9429880cf51f1866d4593692
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('vgg16_bn', pretrained=False)

What it is

This model is the 16-layer VGG, configuration D in the paper, with batch normalization added.

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.