All models

resnet101_duc_hdc

A dilated ResNet-101 that decodes Cityscapes labels with a learned dense upsampling convolution.

Segmentation · 357 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 (21 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
65M
Operations
357
Framework
PyTorch
Recurrent
No
Published
WACV 2018
Cited by
2,122 (as of 17 October 2026)
Authors
Panqu Wang, Pengfei Chen, Ye Yuan and others
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
m8827
Graph hash
0c18e78c5c923372453691eeb23f7d8228f0a6bf49fc23b6f86b90d6aa092ca4
Skeleton hash
450bc6d55ad347b7cb6857a6f868c15504a410ac022f657c7ba0cde962934041
Architecture hash
6f98375608335f0a35de858122d48caa5d077ca8e36f6ac9fc0cb7c4eed540b6
Diagram SHA-256
7cda693fe657934be67fcf3420a1c5adbf8b1ca861b00c37ca4e38c98e29a1ad
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

DUC is a semantic segmentation model: for an input image the model labels each pixel in the image into a set of pre-defined categories. The captured ResNet101_DUC_HDC uses ResNet101 as a backend network with both Dense Upsampling Convolution (DUC) and Hybrid Dilated Convolution (HDC) techniques. The paper behind it, Understanding Convolution for Semantic Segmentation, shows how to improve pixel-wise semantic segmentation by manipulating convolution-related operations.

First, dense upsampling convolution generates pixel-level prediction, capturing and decoding more detailed information that is generally missing in bilinear upsampling. The key idea of DUC is to divide the whole label map into equal d-squared subparts which have the same height and width as the incoming feature map, so a plain convolution can predict them as channels. The motivating case is small things: if an object has a length or width less than 16 pixels, such as a pole or a person far away, bilinear upsampling will more than likely not recover it. Second, a hybrid dilated convolution framework in the encoding phase effectively enlarges the receptive fields of the network to aggregate global information. It also tackles gridding, where a dilated kernel's receptive field only covers an area with checkerboard patterns, since only locations with non-zero values are sampled, losing some neighboring information. Instead of using the same rate of dilation for the same spatial resolution, HDC uses a range of dilation rates and concatenates them serially.

On the Cityscapes dataset the authors achieve a state-of-art result of 80.1% mIOU in the test set at the time of submission. The TuSimple release lists ResNet101-DUC-HDC on the CityScapes test set at 79.1 (ss) and 80.1 (ms) mIoU. The ONNX model zoo entry notes that there are a total of 30 categories in the dataset of which 19 are included for training and evaluation. The output of the network is a tensor of shape (1 X label_num X H * W). That port used MXNet as framework to perform inference. The readme adds that the model can be used effectively in self driving vehicle systems.

Key idea. Dense upsampling convolution for learned pixel-level decoding, plus hybrid dilated convolution to enlarge receptive fields and remove gridding.

  • DUC
  • HDC
  • dense upsampling convolution
  • hybrid dilated convolution
  • ResNet101_DUC_HDC
  • ResNet-DUC-HDC
  • semantic segmentation
  • Cityscapes
  • TuSimple-DUC
  • understanding convolution for semantic segmentation

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

Cite the paper

@misc{wang2018understandingconvolutionsemanticsegmentation,
      title={Understanding Convolution for Semantic Segmentation}, 
      author={Panqu Wang and Pengfei Chen and Ye Yuan and Ding Liu and Zehua Huang and Xiaodi Hou and Garrison Cottrell},
      year={2018},
      eprint={1702.08502},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1702.08502}, 
}