PaddlePaddle / PaddleSeg

Easy-to-use image segmentation library with awesome pre-trained model zoo, supporting wide-range of practical tasks in Semantic Segmentation, Interactive Segmentation, Panoptic Segmentation, Image Matting, 3D Segmentation, etc.

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English | 简体中文

A High-Efficient Development Toolkit for Image Segmentation based on PaddlePaddle.

Build Status License Version python version support os


  • [2022-04-20] 🔥 PaddleSeg v2.5 is released! More details in Release Notes.
    • Release PP-LiteSeg, a real-time semantic segmentation model. It achieves SOTA trade-off between segmentation accuracy and inference speed. [techical report]
    • Release PP-Matting, a trimap-free image matting model for extremely fine-grained segmentation. It achieves SOTA performance on Composition-1k and Distinctions-646. [techical report]
    • Release MedicalSeg, a newly easy-to-use toolkit for 3D medical image segmentation. It supports the whole process including data preprocessing, model training, and model deployment, and provides the high-accuracy models on lung and spine segmentation.
    • Upgrade the interactive annotation tool EISeg v0.5 with supporting new areas in chest X-Ray, MRI spine, and defect inspection.
    • Add 5 semantic segmentatioin models, including variants of PP-LiteSeg.
  • [2022-01-20] We release PaddleSeg v2.4 with EISeg v0.4, and PP-HumanSeg including open-sourced dataset PP-HumanSeg14K.
  • [2021-10-11] We released PaddleSeg v2.3 with the improved interactive segmentation tool EISeg v0.3, two matting algorithms, and segmentation model compression.


PaddleSeg is an end-to-end high-efficent development toolkit for image segmentation based on PaddlePaddle, which helps both developers and researchers in the whole process of designing segmentation models, training models, optimizing performance and inference speed, and deploying models. A lot of well-trained models and various real-world applications in both industry and academia help users conveniently build hands-on experiences in image segmentation.

  • Four segmentation areas: semantic segmentation, interactive segmentation, panoptic segmentation and image matting.

  • Various applications in autonomous driving, medical segmentation, remote sensing, quality inspection, and other scenarios.


  • High-Performance Model: Based on the high-performance backbone trained by semi-supervised label knowledge distillation scheme (SSLD), combined with the state of the art segmentation technology, we provide 80+ high-quality pre-training models, which are better than other open-source implementations.

  • Modular Design: PaddleSeg supports 40+ mainstream segmentation networks, developers can start based on actual application scenarios and assemble diversified training configurations combined with modular design of data enhancement strategies, backbone networks, loss functions and other different components to meet different performance and accuracy requirements.

  • High Efficiency: PaddleSeg provides multi-process asynchronous I/O, multi-card parallel training, evaluation, and other acceleration strategies, combined with the memory optimization function of the PaddlePaddle, which can greatly reduce the training overhead of the segmentation model, all this allowing developers to lower cost and more efficiently train image segmentation model.


Models Components Projects
  • ANN
  • BiSeNetV2
  • DANet
  • DeepLabV3
  • DeepLabV3P
  • Fast-SCNN
  • HRNet-FCN
  • GCNet
  • HarDNet
  • OCRNet
  • PSPNet
  • U-Net
  • U2-Net
  • Att U-Net
  • U-Net++
  • U-Net3+
  • DecoupledSeg
  • EMANet
  • ISANet
  • DNLNet
  • SFNet
  • PP-HumanSeg
  • PortraitNet
  • STDC
  • GINet
  • PointRend
  • SegNet
  • ESPNetV2
  • HRNet-Contrast
  • DMNet
  • ESPNetV1
  • ENCNet
  • PFPNNet
  • FastFCN
  • BiSeNetV1
  • SETR
  • MLA Transformer
  • SegFormer
  • SegMenter
  • ENet
  • CCNet
  • DDRNet
  • GloRe
  • PP-LiteSeg
  • Backbones
    • HRNet
    • MobileNetV2
    • MobileNetV3
    • ResNet
    • STDCNet
    • XCeption
    • VIT
    • MixVIT
    • Swin Transformer
    • Cross Entropy
    • Binary CE
    • Bootstrapped CE
    • Point CE
    • OHEM CE
    • Pixel Contrast CE
    • Focal
    • Dice
    • RMI
    • KL
    • L1
    • Lovasz
    • MSE
    • Edge Attention
    • Relax Boundary
    • Connectivity
    • MultiClassFocal
    • mIoU
    • Accuracy
    • Kappa
    • Dice
    • AUC_ROC
    • Cityscapes
    • Pascal VOC
    • ADE20K
    • Pascal Context
    • COCO Stuff
    • EG1800
    • CHASE_DB1
    • HRF
    • DRIVE
    • STARE
    • PP-HumanSeg14K
    Data Augmentation
    • Flipping
    • Resize
    • ResizeByLong
    • ResizeByShort
    • LimitLong
    • ResizeRangeScaling
    • ResizeStepScaling
    • Normalize
    • Padding
    • PaddingByAspectRatio
    • RandomPaddingCrop
    • RandomCenterCrop
    • ScalePadding
    • RandomNoise
    • RandomBlur
    • RandomRotation
    • RandomScaleAspect
    • RandomDistort
    • RandomAffine
    Interactive Segmentation
    • EISeg
    • RITM
    • EdgeFlow
    Image Matting
    • PP-Matting
    • DIM
    • MODNet
    • PP-HumanMatting
    Human Segmentation
    • PP-HumanSeg
    3D Medical Segmentation
    • VNet
    Cityscapes SOTA
    • HMSA
    Panoptic Segmentation
    • Panoptic-DeepLab
    CVPR Champion
    • MLA Transformer
    Domain Adaption
    • PixMatch

    Model Zoo

    The relationship between mIoU and FLOPs of representative architectures and backbones. See Model Zoo Overview for more details.


    Practical Projects


    • If you have any problem or suggestion on PaddleSeg, please send us issues through GitHub Issues.
    • Welcome to Join PaddleSeg WeChat Group


    PaddleSeg is released under the Apache 2.0 license.


    • Thanks jm12138 for contributing U2-Net.
    • Thanks zjhellofss (Fu Shenshen) for contributing Attention U-Net, and Dice Loss.
    • Thanks liuguoyu666, geoyee for contributing U-Net++ and U-Net3+.
    • Thanks yazheng0307 (LIU Zheng) for contributing quick-start document.
    • Thanks CuberrChen for contributing STDC(rethink BiSeNet), PointRend and DetailAggregateLoss.
    • Thanks stuartchen1949 for contributing SegNet.
    • Thanks justld (Lang Du) for contributing DDRNet, CCNet, ESPNetV2, DMNet, ENCNet, HRNet_W48_Contrast, FastFCN, BiSeNetV1, SECrossEntropyLoss and PixelContrastCrossEntropyLoss.
    • Thanks Herman-Hu-saber (Hu Huiming) for contributing ESPNetV2.
    • Thanks zhangjin12138 for contributing RandomCenterCrop.
    • Thanks simuler for contributing ESPNetV1.
    • Thanks ETTR123(Zhang Kai) for contributing ENet, PFPNNet.


    If you find our project useful in your research, please consider citing:

          title={PaddleSeg: A High-Efficient Development Toolkit for Image Segmentation},
          author={Yi Liu and Lutao Chu and Guowei Chen and Zewu Wu and Zeyu Chen and Baohua Lai and Yuying Hao},
        title={PaddleSeg, End-to-end image segmentation kit based on PaddlePaddle},
        author={PaddlePaddle Contributors},
        howpublished = {\url{}},
    ezoic increase your site revenue


    Easy-to-use image segmentation library with awesome pre-trained model zoo, supporting wide-range of practical tasks in Semantic Segmentation, Interactive Segmentation, Panoptic Segmentation, Image Matting, 3D Segmentation, etc.

    License:Apache License 2.0


    Language:Python 91.1%Language:Java 3.5%Language:Shell 1.9%Language:C++ 1.4%Language:CMake 0.7%Language:Cython 0.4%Language:C 0.4%Language:Jupyter Notebook 0.3%Language:JavaScript 0.2%Language:HTML 0.1%Language:TypeScript 0.0%