
mobilenet_v2 (semantic segmentation)
Image classification219 ops2.5M params
MobileNet V2 with a DeepLabV3+ head for semantic segmentation.
Segmentation · 219 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
transformers.AutoModelForSemanticSegmentation.from_config()
MobileNet V2 is an image network designed to perform better on mobile devices through a more efficient architecture. It uses inverted residual blocks and linear bottlenecks: it starts with a smaller representation of the data, expands it for processing, and shrinks it again to reduce the number of computations. Like MobileNet V1, it uses depthwise separable convolutions for efficiency.
This model is the semantic segmentation version, in which a DeepLabV3+ head sits on the MobileNet V2 backbone. The architecture works with images of different sizes, with a minimum of 32x32. In this implementation the final convolution layer of the backbone is still computed even though the DeepLabV3+ head does not use it.
Key idea. MobileNet V2 uses inverted residual blocks and linear bottlenecks to reduce the number of computations on mobile devices.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.