All models

smp_Linknet_densenet201

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

Segmentation · 760 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 (24 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
28.3M
Operations
760
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
m9472
Graph hash
278ae4ae7861fc6ac116b480523d491373152e962c7addaf3148ff66501867dc
Skeleton hash
f519a7152ab097a574f54a1b519ac970e96d76f8e9b65868a1de0a869d96d7b6
Architecture hash
eb2673a01a9dd50169c6f48375a55cadec5b0f799b21e6e23087f9bb44c83a6a
Diagram SHA-256
9fb35cdcf4468dd267508f42d6c3813503bd3127544df3a82c0c934bd7e2ae6f
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='densenet201', 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}, 
}