All models

smp_Linknet_resnet18

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

Segmentation · 119 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
11.7M
Operations
119
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
m9503
Graph hash
c5d7d0a30e5cb42bcf9d8abd8cccb621a744bc8190da473d9b078f65e2a675a0
Skeleton hash
0d4dbe09cb0556ba44f6811e83f57991218d35f1e51231eb40bad4b29a75db8e
Architecture hash
aea0e409cf81c1f7c78b85534b0958814b73dad06e26b795bd42f93f2ddecf48
Diagram SHA-256
ff033ebbe46381139b46a275fb1bb83ae56f8fc06b45d65e1deb4440c5b2ae5a
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='resnet18', 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}, 
}