All models

ShelfNet_ResNet50

A real-time semantic segmentation network whose encoder-decoder branches stack like a shelf.

Segmentation · 313 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 (22 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
41.1M
Operations
313
Framework
PyTorch
Recurrent
No
Published
ICCV Workshops 2019
Cited by
148 (as of 17 October 2026)
Authors
Juntang Zhuang, Junlin Yang, Lin Gu, Nicha Dvornek
License
MIT
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
m2802
Graph hash
6b940f9ebff51d8ebbb9e0d2ea749bbd5f9bdf5c123bc84c8e3f9ee7447172e6
Skeleton hash
f1db5fee5af3d56cb5ad19bf59169ddbbf752ad08a8035a0ea1fc6f04f0561e0
Architecture hash
f99fb4b29ef31c509765e92cf46178b08603867c1edeefeffdd89a3c74499c18
Diagram SHA-256
1e9ee5d036380e4e1776daea35d110750089d8e5da9faa83dfcde02c12ac1fa4
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

ShelfNet is a semantic segmentation network built for speed, which replaces the usual single encoder-decoder with several encoder-decoder pairs linked at every spatial level, like a shelf with columns. The authors read this shape as an ensemble of many deep and shallow paths through the network, and credit the accuracy to it. Compute is kept down by cutting channel counts. A shared-weight residual block trims parameters without hurting performance.

Multi-scale features from the stages of a ResNet backbone feed the segmentation shelf, whose rows are spatial levels at 1/4, 1/8, 1/16 and 1/32 of the input. Of the columns, one is an encoder branch that down-samples and two are decoder branches that up-sample, while the first column only reduces channels with a 1 x 1 convolution.

On Cityscapes the paper reports 79.0% mIoU with a ResNet34 backbone, outperforming PSPNet and BiSeNet with larger backbones such as ResNet101. The member traced here is the non-lightweight ShelfNet with a ResNet50 backbone from the PASCAL VOC branch of the code, which reports 82.8% mIoU on the PASCAL VOC 2012 test set for that backbone. The same code reports 59 FPS for the ResNet50 model on a GTX 1080Ti GPU with a 512x512 input image.

Key idea. A shelf structure of multiple encoder-decoder pairs that improves information flow for accurate and fast semantic segmentation.

  • shelfnet
  • shelfnet-lw
  • shelf net
  • real-time semantic segmentation
  • fast semantic segmentation
  • pascal voc segmentation
  • cityscapes segmentation
  • resnet50 segmentation

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

Cite the paper

@misc{zhuang2019shelfnetfastsemanticsegmentation,
      title={ShelfNet for Fast Semantic Segmentation}, 
      author={Juntang Zhuang and Junlin Yang and Lin Gu and Nicha Dvornek},
      year={2019},
      eprint={1811.11254},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1811.11254}, 
}