← all repositories
xiaoyufenfei/LEDNet

Sub-1M parameters, 71 FPS: a segmentation network that fits on a diet

LEDNet trades parameter bloat for speed by shuffling channels and slimming the decoder with an attention pyramid.

522 stars Python Computer VisionML Frameworks
LEDNet
Not currently ranked — collecting fresh signals.
star history

What it does LEDNet is a PyTorch implementation of a lightweight encoder-decoder network for real-time semantic segmentation, trained and evaluated on the Cityscapes dataset. The encoder uses a ResNet backbone where each residual block splits and shuffles channels to cut computation; the decoder employs an attention pyramid network (APN) to keep the whole model under 1 million parameters while pushing past 71 FPS on a single GTX 1080Ti.

The interesting bit The channel split-and-shuffle operation in the encoder is borrowed from ShuffleNet’s playbook, but applied here to dense prediction rather than classification. The asymmetry is deliberate: the encoder does the heavy lifting with cheap operations, while the APN decoder stays minimal rather than mirroring the encoder’s depth.

Key highlights

  • Under 1M parameters; claims 70.6% class IoU and 70+ FPS on Cityscapes (fine + coarse labels)
  • Encoder pre-training on ImageNet supported, with a separate fine-tuning path for the decoder
  • Includes evaluation scripts for inference timing, official server submission, and per-class IoU
  • Visualization via Visdom; torchsummary integration for model inspection
  • Code targets PyTorch 0.4.1 / CUDA 9.0, though the README notes 0.4.1+ compatibility

Caveats

  • The author notes results “need to be further improved” due to limited GPU resources during development
  • Only Cityscapes is currently implemented; CamVid, VOC, and ADE20K are listed as future work
  • Trained model links in the README appear incomplete ("./save/" path without actual file references)

Verdict Worth a look if you’re building real-time segmentation pipelines and need a proven lightweight baseline to benchmark against. Skip it if you need production-ready multi-dataset support or modern PyTorch versions without migration work.

Frequently asked

What is xiaoyufenfei/LEDNet?
LEDNet trades parameter bloat for speed by shuffling channels and slimming the decoder with an attention pyramid.
Is LEDNet open source?
Yes — xiaoyufenfei/LEDNet is open source, released under the MIT license.
What language is LEDNet written in?
xiaoyufenfei/LEDNet is primarily written in Python.
How popular is LEDNet?
xiaoyufenfei/LEDNet has 522 stars on GitHub.
Where can I find LEDNet?
xiaoyufenfei/LEDNet is on GitHub at https://github.com/xiaoyufenfei/LEDNet.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.