All models

smp_DeepLabV3_dpn68b

Atrous convolution at multiple rates plus image-level context for semantic segmentation.

Segmentation · 347 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 (26 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
18.9M
Operations
347
Framework
PyTorch
Recurrent
No
Published
2017
Authors
Liang-Chieh Chen, George Papandreou, Florian Schroff, Hartwig Adam
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
m9324
Graph hash
f7c47723a0892586b55008471a83773a096f44b4f196d041ac8c63b3ed3647fb
Skeleton hash
b802b59232ca90ae27a44206dbdd89f25956bd334a58fcfdb65106eb9c428d59
Architecture hash
e5ad5c41f831a74f09a24cf432f105549413d514a00ab241013d05a24c8e9341
Diagram SHA-256
1e11ec42ef7bf93eddd13cf34ece84c8e002a1ae9232ea2313276109e30f86b2
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

segmentation_models_pytorch.DeepLabV3(encoder_name='dpn68b', encoder_weights=None, in_channels=3, classes=21)

What it is

About this model's family

DeepLabV3 is a semantic segmentation system built around atrous convolution, a tool that lets a network explicitly adjust a filter's field-of-view and control the resolution of its feature responses. To segment objects at multiple scales, the paper designs modules that apply atrous convolution in cascade or in parallel with several atrous rates. It also augments the earlier Atrous Spatial Pyramid Pooling module, which probes convolutional features at multiple scales, with image-level features that encode global context. The result improves over the previous DeepLab versions without DenseCRF post-processing and reaches comparable performance to other models on the PASCAL VOC 2012 benchmark.

In torchvision, the builders instantiate a DeepLabV3 model with different backbones, with or without pre-trained weights. The three captured there pair the head with a MobileNetV3-Large, a ResNet-50 or a ResNet-101 backbone. Their output has num_classes channels, counting the background.

The bulk of the family comes from segmentation_models_pytorch, where the encoder is any classification model used as a backbone to extract features at different spatial resolutions. Its ASPP module takes three dilation rates, and separable convolutions inside it are off by default. Many of those members are the DeepLabV3Plus class, implemented from the follow-up paper on an encoder-decoder with atrous separable convolution. That variant's final upsampling factor defaults to 4 to preserve the input-output spatial shape. In the plain DeepLabV3 class it defaults to None instead, for the same reason.

Key idea. DeepLabV3 revisits atrous convolution for semantic segmentation, applying it in cascade or in parallel at multiple atrous rates to capture multi-scale context. With image-level features added to ASPP, it improves over the previous DeepLab versions without DenseCRF post-processing.

  • deeplabv3
  • deeplab v3
  • deeplabv3+
  • deeplabv3plus
  • atrous convolution
  • aspp
  • semantic segmentation
  • torchvision
  • segmentation_models_pytorch
  • deeplabv3_resnet50
  • deeplabv3_resnet101
  • deeplabv3_mobilenet_v3_large

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

Cite the paper

@misc{chen2017rethinkingatrousconvolutionsemantic,
      title={Rethinking Atrous Convolution for Semantic Image Segmentation}, 
      author={Liang-Chieh Chen and George Papandreou and Florian Schroff and Hartwig Adam},
      year={2017},
      eprint={1706.05587},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1706.05587}, 
}