All models

smp_Linknet_mobilenet_v2

Lightweight encoder-decoder that links each encoder block to its decoder for real-time segmentation.

Segmentation · 202 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 (11 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

Family
LinkNet
Parameters
4.3M
Operations
202
Framework
PyTorch
Recurrent
No
Published
IEEE Visual Communications and Image Processing (VCIP) (arXiv 2017)
Cited by
1,504 (as of 9 October 2026)
Authors
Abhishek Chaurasia, Eugenio Culurciello
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
m9495
Graph hash
b5ea27caa2dc742aef8339eb7d2b930929505e6a3f6bee921908fbe53dce9cb1
Skeleton hash
96eadae90cdc8b7e20e7e9296b59acab891582ff2a8a11ad935db7c1144dfa2d
Architecture hash
ae62e70425b42081928873c6a141ce1e64ac20a81415de710b2910ffc9f844d6
Diagram SHA-256
9a0f2a596062039d4d4fcfd7304ee9ac46e9f24a64ebb731bd03a3d7d9070560
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.Linknet(encoder_name='mobilenet_v2', encoder_weights=None, in_channels=3, classes=21)

What it is

About this model's family

LinkNet is a neural network architecture designed from the ground up specifically for semantic segmentation. Its main aim is to make efficient use of the scarce resources available on embedded platforms. The whole network uses only 11.5 million parameters and 21.2 GFLOPs to process an image of resolution 3x640x360. Its encoder is ResNet18, a fairly light network.

The idea is that bypassing spatial information directly from the encoder to the corresponding decoder improves accuracy and significantly cuts processing time. Information that would otherwise be lost at each level of the encoder is preserved, so no additional parameters and operations are wasted relearning it. The encoder starts with an initial block that convolves the input image with a 7×7 kernel at stride 2. The later portion of the encoder consists of residual blocks. Batch normalization sits between each convolutional layer and is followed by a ReLU non-linearity.

On CamVid it gives state-of-the-art performance, and on Cityscapes comparable results. It processes very high resolution images at 8.5 fps on a GPU and gives real-time performance even on the NVIDIA TX1 embedded module. The members traced here all come from segmentation_models_pytorch, where the encoder is a classification model used as a backbone to extract features at different spatial resolutions. That implementation fuses decoder blocks with the skip connections by summation. It has 4 skip connections by default, where the original has 3.

Key idea. LinkNet bypasses spatial information directly from each encoder block to the corresponding decoder, which improves accuracy while significantly decreasing processing time.

  • linknet
  • link net
  • efficient semantic segmentation
  • real-time segmentation
  • embedded segmentation
  • camvid
  • cityscapes
  • segmentation_models_pytorch

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

Cite the paper

@misc{chaurasia2017linknetexploitingencoderrepresentations,
      title={LinkNet: Exploiting Encoder Representations for Efficient Semantic Segmentation}, 
      author={Abhishek Chaurasia and Eugenio Culurciello},
      year={2017},
      eprint={1707.03718},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1109/VCIP.2017.8305148},
      url={https://arxiv.org/abs/1707.03718}, 
}