All models

hf_mobilenet_v2_semantic_segmentation

MobileNet V2 with a DeepLabV3+ head for semantic segmentation.

Segmentation · 219 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 (17 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
2.5M
Operations
219
Framework
PyTorch
Recurrent
No
Published
2018
License
Apache-2.0
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
m5315
Graph hash
a8bfb7320fc7c4d789bc2e70f4031833362b50790705254025e86b70bd266db4
Skeleton hash
bcb7b1fafb7828fdf748bf96914ec16efd52c2084506340d7bfe137b61933365
Architecture hash
bc40d9d282ffb8472cc4b3a1e8dff82cb06c23f455eafcbbe183d36f7d72272e
Diagram SHA-256
e1e41f35619192063802254393bf830e4f5bd0b21aca00f3d5d931cd51aa134b
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

transformers.AutoModelForSemanticSegmentation.from_config()

What it is

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.

  • mobilenetv2
  • mobilenet v2
  • mobilenet_v2
  • MobileNetV2ForSemanticSegmentation
  • semantic segmentation
  • mobile segmentation
  • inverted residual
  • deeplabv3 mobilenet

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.