All models

deeplabv3_resnet50

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

Segmentation · 199 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 (28 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
39.6M
Operations
199
Framework
PyTorch
Recurrent
No
Published
2017
Authors
Liang-Chieh Chen, George Papandreou, Florian Schroff, Hartwig Adam
License
BSD-3-Clause
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
m4148
Graph hash
b7ef3faa310438eb340b1a304c365d28024dfca329011f0b4c552775e8830580
Skeleton hash
30a18fb554aac4249f4df8b7b33247df38bfe6b70f39627206da4bd024d6aacc
Architecture hash
c65beb3e3dfd6221744a68673453c589d7028cdf9a43cec7e4c79a97bf95a14f
Diagram SHA-256
5afd8bb4b3cc4690ba1091705126bdaae9245cd75e7727a651e18b7eee681907
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

torchvision.models.get_model('deeplabv3_resnet50', weights=None, weights_backbone=None)

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}, 
}