All models

VGG-13

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

Image classification · 35 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 (43 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
133M
Operations
35
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
m10843
Graph hash
f3ac136e9541b5be24484e2ae05a8739a684be47520a016887aaefda9487fb68
Skeleton hash
b490a25a977861bf1e91a1a140bfa0dcefc43bdcf14a749a6c0d0384c11111df
Architecture hash
43ee251b86763f7ffb06da458b5bd315e015da622af3d018e30057ce34be6451
Diagram SHA-256
af5c62851c87301ff0b4eeb17f5d39f5b70d3a4e97eb84c3d07b39a01367a373
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('vgg13', pretrained=False)

What it is

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