All models

smp_Linknet_efficientnet-b5

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

Segmentation · 818 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.7M
Operations
818
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
m9484
Graph hash
b5235c78a8459fa7248ee5aa2753aa90874f8bde7b10a0f3e6fd85e045c7d10b
Skeleton hash
9cc4b641d18af628b5b426d7595d88ad9c4ce1c55601d2c3818b4a5e996cd2e0
Architecture hash
2026d38877cbcf93d56a59b4640e4926a5924b0fa2f87b0986a24ce11dee1db0
Diagram SHA-256
019d6b72c35aff539f26db9cc7bf7c2ca378009a7390db32629b2c4d5847327f
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='efficientnet-b5', 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}, 
}