All models

smp_DeepLabV3_vgg13

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

Segmentation · 95 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 (32 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
15.9M
Operations
95
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
m9386
Graph hash
45c88ce850d63a7b6f3328f6fb6b7e7e04d97fa7d4c7eafd6b6be9e42f0bd729
Skeleton hash
321b5391cb92a464b2636a5757c85a75f8833756137d12fd265be726cabf77ae
Architecture hash
c51bb5adfcb87b8a854f4c00f5ed5b87f87c713d30dea57aee375ace28c8bf62
Diagram SHA-256
3470f5850d35cfbb6056c4d5f6f7e7a15f8f6d42000eac93063daf961c263bd2
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='resnet18', 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}, 
}