All models

SegNet_VGG16

VGG16 encoder and a decoder that upsamples with saved max-pooling indices for pixel-wise segmentation.

Segmentation · 93 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 (37 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
29.5M
Operations
93
Framework
PyTorch
Recurrent
No
Published
IEEE TPAMI 2017
Cited by
19,559 (as of 17 October 2026)
Authors
Vijay Badrinarayanan, Alex Kendall, Roberto Cipolla
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
m2772
Graph hash
a57218ec6e24ad6a10d6d22bd2c5bf67b0d310a7ea98ca783e0dd502d8347468
Skeleton hash
c83485d9e353adab36ecb937ad5608c9ec2d729e52b3571be94460de34f9bc96
Architecture hash
d50fb2b12748de24b74416fbeec178f6ac431f609a855c75e8eec03380442174
Diagram SHA-256
d65df8a7bf57d6ca0733f5a4ba0a2dcae2c872ba1a79fb504658837cb2e247a7
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

SegNet is a deep fully convolutional neural network architecture for semantic pixel-wise segmentation. Its core trainable segmentation engine consists of an encoder network, a corresponding decoder network followed by a pixel-wise classification layer. The encoder network is topologically identical to the 13 convolutional layers in the VGG16 network. The decoder's job is to map the low resolution encoder feature maps to full input resolution feature maps for pixel-wise classification. SegNet was primarily motivated by scene understanding applications, so it is designed to be efficient both in terms of memory and computational time during inference.

The novelty lies in how the decoder upsamples: it uses pooling indices computed in the max-pooling step of the corresponding encoder to perform non-linear upsampling, which eliminates the need for learning to upsample. The upsampled maps are sparse and are then convolved with trainable filters to produce dense feature maps. There are no fully connected layers, hence the network is only convolutional, and the final decoder output feature maps are fed to a soft-max classifier for pixel-wise classification. The authors compare SegNet with the widely adopted FCN and with DeepLab-LargeFOV and DeconvNet, a comparison that reveals the memory versus accuracy trade-off involved in achieving good segmentation performance. They evaluate on CamVid road scene segmentation and SUN RGB-D indoor scenes, and report that SegNet provides good performance with competitive inference time and is most efficient inference memory-wise.

The member traced here is the SegNet from the pytorch-semseg collection, listed there as Segnet with unpooling using maxpool indices. The original authors shipped a modified version of Caffe which supports the SegNet architecture, whose example net uses an image size of 360 by 480.

Key idea. SegNet's decoder upsamples with the max-pooling indices saved by the matching encoder layer, so the network needs no learned upsampling and stays small in memory at inference.

  • SegNet
  • semantic segmentation
  • encoder-decoder
  • VGG16
  • max-pooling indices
  • unpooling
  • CamVid
  • SUN RGB-D
  • pixel-wise segmentation
  • pytorch-semseg
  • Badrinarayanan
  • Kendall
  • Cipolla

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

Cite the paper

@misc{badrinarayanan2016segnetdeepconvolutionalencoderdecoder,
      title={SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation}, 
      author={Vijay Badrinarayanan and Alex Kendall and Roberto Cipolla},
      year={2016},
      eprint={1511.00561},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1511.00561}, 
}