All models

vgg13_bn

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

Image classification · 45 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
133.1M
Operations
45
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
m10846
Graph hash
94819f21a4a983e22b43ea305c665cf0b706c5b07f0c65cb06718328f583725e
Skeleton hash
62ff4f8e24e1bfb327913735befe809f7b5af150b87557b4f16a703376c9a33d
Architecture hash
1ec6342afb820adb1b4ccc5824092e0a1f3d87cadfded3061984b5bd194c7db3
Diagram SHA-256
aecaf019df4918c62fff5fa8b83212f4a74c2f2e58499face971fb23b2df8ed5
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_bn', pretrained=False)

What it is

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