All models

smp_DeepLabV3_mit_b1

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

Segmentation · 417 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 (39 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
17.9M
Operations
417
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
m9338
Graph hash
b82e32210c6e7e1eda89b3aa29e0d4914546263b05030b5a54797c67d28d0c33
Skeleton hash
1d8d1b5b1c5d9cb8b2f64ad8ca4a579b41f8648a019ac68ac0dc026ca095c098
Architecture hash
d95868ab4059f2b108fd607d44b3c32ae81b0b6c9d52adaf296f135e8bcc34c8
Diagram SHA-256
8eb51b63f5b7a0cb6594aed773414c6705bb91020890e65497663c3674277238
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='mit_b1', 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}, 
}