All models

smp_Linknet_densenet169

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

Segmentation · 648 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
19.2M
Operations
648
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
m9471
Graph hash
7aa0ffd80465f2012cf704635a9b95d6d7370acd36c768f57e9d9da7db01cb10
Skeleton hash
4ca998c7a2717d4cc5cd58b8044047b15da075cf30a5a5b51708f74183bfc34f
Architecture hash
d4457b1c8b1c8a226acd03a451871ebfeee80d9bef2c0717ef0ef821e5dcad0a
Diagram SHA-256
ddb22cd7ad601ddf803217dc94655075fe26353d4ddebff4803c2082b4e01b66
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='densenet169', 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}, 
}