Practical overview
When it fits
Use Lednet when you need the repository’s PyTorch implementation and documented Cityscapes training or evaluation workflow, or want to study its lightweight encoder-decoder design.
Who it is for
- Computer-vision developers evaluating a lightweight semantic-segmentation model.
- Researchers and learners studying LEDNet or reproducing a Cityscapes-oriented training and evaluation workflow.
Documented uses
- Train LEDNet on the documented Cityscapes dataset.
- Evaluate segmentation results with the included IoU tools.
- Generate colorized test-result images and measure forward time using repository scripts.
Requirements & limits
The repository is public and specifies the MIT license.
- The README describes a legacy environment: Python 3.6, PyTorch 0.4.1, CUDA 9.0 and cuDNN 7.1.
- Training requires Cityscapes images and annotations, with a documented directory layout and label-conversion step.
- The repository’s performance figures refer to stated experimental conditions and should not be assumed for different hardware.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare the documented Cityscapes training setup
Install the listed dependencies and arrange Cityscapes data for the repository’s training workflow.
Before you start
- Python 3.6.x; the README describes PyTorch 0.4.1, CUDA 9.0 and cuDNN 7.1.
- Cityscapes images and annotations, plus CityscapesScripts for label conversion.
- Visdom and torchsummary.
Steps
Clone the repository and enter its project directory.
Install the Python dependencies with the command below.
pip3 install -r requirements.txtInstall Visdom and torchsummary.
Download the Cityscapes image and annotation packages and arrange the data in the documented directory structure.
Expected outcome
The repository and Cityscapes data are prepared for the documented training stage.
Guide limitations
- This preparation guide does not establish that training or inference has been run.
- The README names Cityscapes as the currently supported training dataset; CamVid, VOC and ADE20K are described as intended additions.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 17 October 2026
- Original website title
- xiaoyufenfei/LEDNet · Official homepage title · retained in its source language

