All models

VGG-CNN-F

The 'Fast' network from Return of the Devil in the Details: an 8-layer, 224-pixel ImageNet classifier.

Image classification · 42 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 (38 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

Parameters
60.8M
Operations
42
Framework
PyTorch
Recurrent
No
Published
BMVC 2014
Cited by
3,515 (as of 18 October 2026)
Authors
Ken Chatfield, Karen Simonyan, Andrea Vedaldi, Andrew Zisserman
License
BSD-2-Clause
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
m3285
Graph hash
a11a0a16a22c832a23202895d78b4ee70ff62ed204afbf8ad027ccf81504798c
Skeleton hash
4491134eaf3ea668076c0804cfb888cff5c013be52c5f6ecfe4174b15861d865
Architecture hash
ead75bd37f68de0e2902da479661c65db35a5952605e5601ece939fc544a2fa8
Diagram SHA-256
aeabd1b1991184d8d8fa76be96dc3293e57536dd655d012a0ddbb2c74b900c2c
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

VGG-CNN-F is one of three CNN architectures that the paper 'Return of the Devil in the Details' built to span different accuracy and speed trade-offs. All three were trained with the same protocol and the same implementation, developed on the Caffe framework. CNN-F, the paper's 'Fast' architecture, is modelled on the network of Krizhevsky and colleagues. It has 8 learnable layers, 5 convolutional and 3 fully connected, takes a 224 × 224 input, and owes its speed to a 4 pixel stride in the first convolution. The stated differences from that network are fewer convolutional layers and dense connectivity between them. The sparse connections it drops had existed to let the original train across two GPUs.

The first convolution uses 64 filters of 11 × 11 at stride 4, followed by local response normalisation and 2× max pooling. The fully connected layers full6 and full7 are regularised with dropout, and the last layer acts as a multi-way softmax classifier. Like its siblings it keeps a 4096-dimensional last hidden layer. Training used momentum 0.9, weight decay 5 · 10−4 and an initial learning rate of 10−2, decreased tenfold when the validation error stopped decreasing. Training CNN-F took 5 days on a single NVIDIA GTX Titan GPU, against 3 weeks for the slow variant.

In the paper's VOC-2007 comparison CNN-F is the weakest of the three, with CNN-M and CNN-S ahead by a 2 to 3% margin. It still performs significantly better than the earlier DeCAF features it resembles, which the authors took as validating their implementation. CNN-F features are also the cheapest of the three to compute, at around 0.13 seconds per image without augmentation. The reference code saved alongside the paper is MatConvNet, a MATLAB toolbox implementing convolutional networks for computer vision. Source code and models to reproduce the paper's experiments were made publicly available.

Key idea. CNN-F is the fast configuration in a controlled study that compared different deep architectures with each other and with shallow encodings on common ground, disclosing the implementation details that drive the results.

  • VGG-CNN-F
  • CNN-F
  • VGG-F
  • VGG CNN F
  • Return of the Devil in the Details
  • fast CNN
  • ImageNet classifier
  • MatConvNet

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

Cite the paper

@misc{chatfield2014returndevildetailsdelving,
      title={Return of the Devil in the Details: Delving Deep into Convolutional Nets}, 
      author={Ken Chatfield and Karen Simonyan and Andrea Vedaldi and Andrew Zisserman},
      year={2014},
      eprint={1405.3531},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1405.3531}, 
}