Command Palette
Search for a command to run...

Abstract
Real-world applications have high demands for semantic segmentation methods. Although semantic segmentation has made remarkable leap-forwards with deep learning, the performance of real-time methods is not satisfactory. In this work, we propose PP-LiteSeg, a novel lightweight model for the real-time semantic segmentation task. Specifically, we present a Flexible and Lightweight Decoder (FLD) to reduce computation overhead of previous decoder. To strengthen feature representations, we propose a Unified Attention Fusion Module (UAFM), which takes advantage of spatial and channel attention to produce a weight and then fuses the input features with the weight. Moreover, a Simple Pyramid Pooling Module (SPPM) is proposed to aggregate global context with low computation cost. Extensive evaluations demonstrate that PP-LiteSeg achieves a superior trade-off between accuracy and speed compared to other methods. On the Cityscapes test set, PP-LiteSeg achieves 72.0% mIoU/273.6 FPS and 77.5% mIoU/102.6 FPS on NVIDIA GTX 1080Ti. Source code and models are available at PaddleSeg: https://github.com/PaddlePaddle/PaddleSeg.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| real-time-semantic-segmentation-on-camvid | PP-LiteSeg-B | Frame (fps): 154.8 mIoU: 75 |
| real-time-semantic-segmentation-on-camvid | PP-LiteSeg-T | Frame (fps): 222.3 mIoU: 73.3 |
| real-time-semantic-segmentation-on-cityscapes | PP-LiteSeg-B1 | Frame (fps): 195.3(1080Ti) mIoU: 73.9% |
| real-time-semantic-segmentation-on-cityscapes | PP-LiteSeg-B2 | Frame (fps): 102.6(1080Ti) mIoU: 77.5% |
| real-time-semantic-segmentation-on-cityscapes | PP-LiteSeg-T1 | Frame (fps): 273.6(1080Ti) mIoU: 72.0% |
| real-time-semantic-segmentation-on-cityscapes | PP-LiteSeg-T2 | Frame (fps): 143.6(1080Ti) mIoU: 74.9% |
| real-time-semantic-segmentation-on-cityscapes-1 | PP-LiteSeg-T1 | mIoU: 73.1 |
| real-time-semantic-segmentation-on-cityscapes-1 | PP-LiteSeg-B2 | mIoU: 78.2 |
| real-time-semantic-segmentation-on-cityscapes-1 | PP-LiteSeg-T2 | mIoU: 76 |
| real-time-semantic-segmentation-on-cityscapes-1 | PP-LiteSeg-B1 | mIoU: 75.3 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.