All models

smp_DeepLabV3_timm-skresnext50_32x4d

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

Segmentation · 537 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 (24 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
40.1M
Operations
537
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
m9378
Graph hash
46d8486ee259907cc7791a23e21a2757d89f7974f40af4b25a84cf6eb7ac7826
Skeleton hash
d4d47096f3690bbea285bba4709d14586218ae3a6d2c167f614982c6bcf13f45
Architecture hash
27de5aa4e6f94c0ad22bb6cf11b6cbedcd62a8abb797acc261aef30e9560d8a7
Diagram SHA-256
13deead922e106fecde8063b299b14960b490bba597e8e7c92d94ffc0e6f4fdf
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='timm-skresnext50_32x4d', 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}, 
}