MCPcopy Index your code
hub / github.com/PaddlePaddle/PaddleSeg

github.com/PaddlePaddle/PaddleSeg @v2.10.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.10.0 ↗
6,810 symbols 21,469 edges 848 files 1,275 documented · 19%
README

English | 简体中文

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

License Version python version support os stars

News

  • [2023-10-29] :fire: PaddleSeg v2.9 is released! Check more details in Release Notes.
  • [2022-04-11] PaddleSeg v2.8 released Segment Anything Model, an original light-weight semantic segmentation model on mobile devices PP-MobileSeg, QualityInspector v0.5, a full-process solution for industrial quality inspection, and PanopticSeg v0.5, a universal panoptic segmentation solution.
  • [2022-11-30] PaddleSeg v2.7 released a real-time human matting model PP-MattingV2, a 3D medical image segmentation solution MedicalSegV2, and a real-time semantic segmentation model RTFormer.
  • [2022-07-20] PaddleSeg v2.6 released a real-time human segmentation SOTA solution PP-HumanSegV2, a stable-version semi-automatic segmentation annotation tool EISeg v1.0, a pseudo label pre-training method PSSL, and the source code of PP-MattingV1.
  • [2022-04-20] PaddleSeg v2.5 released a real-time semantic segmentation model PP-LiteSeg, a trimap-free image matting model PP-MattingV1, and an easy-to-use solution for 3D medical image segmentation MedicalSegV1.
  • [2022-01-20] We release PaddleSeg v2.4 with EISeg v0.4, and PP-HumanSegV1 including an open-sourced dataset PP-HumanSeg14K.

Introduction

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.

Features

  • High-Performance Model: Following the state of the art segmentation methods and using high-performance backbone networks, we provide 45+ models and 150+ high-quality pre-training models, which are better than other open-source implementations.

  • 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 these allowing developers to train image segmentation models more efficiently and at a lower cost.

  • Modular Design: We build PaddleSeg with the modular design philosophy. Therefore, based on actual application scenarios, developers can assemble diversified training configurations with data augmentation strategies, segmentation models, backbone networks, loss functions, and other different components to meet different performance and accuracy requirements.

  • Complete Flow: PaddleSeg supports image labeling, model designing, model training, model compression, and model deployment. With the help of PaddleSeg, developers can easily finish all tasks in the entire workflow.

Community

  • If you have any questions, suggestions or feature requests, please do not hesitate to create an issue in GitHub Issues.
  • Please scan the following QR code to join PaddleSeg WeChat group to communicate with us:

Overview

Models Components Special Cases
Backbones Losses

Extension points exported contracts — how you extend this code

OnTextureChangedListener (Interface)
(no doc) [1 implementers]
deploy/fastdeploy/semantic_segmentation/android/app/src/main/java/com/baidu/paddle/fastdeploy/app/ui/view/CameraSurfaceView.java

Core symbols most depended-on inside this repo

append
called by 1390
EISeg/eiseg/util/qt.py
get
called by 392
EISeg/eiseg/util/qt.py
info
called by 382
EISeg/eiseg/util/coco/coco.py
tr
called by 193
EISeg/eiseg/util/language.py
to_tensor
called by 185
EISeg/eiseg/inference/predictor/base.py
keys
called by 160
EISeg/eiseg/util/manager.py
items
called by 145
contrib/SegmentAnything/segment_anything/utils/amg.py
parse_args
called by 144
contrib/QualityInspector/qinspector/cvlib/configs.py

Shape

Method 4,085
Function 1,499
Class 1,225
Interface 1

Languages

Python96%
Java4%
TypeScript1%

Modules by API surface

EISeg/eiseg/app.py150 symbols
EISeg/med3d/EISegMed3D/EISegMed3D.py83 symbols
contrib/MedicalSeg/nnunet/transforms/transform.py77 symbols
paddleseg/transforms/transforms.py73 symbols
contrib/MedicalSeg/medicalseg/transforms/transform.py66 symbols
Matting/ppmatting/transforms/transforms.py57 symbols
EISeg/eiseg/plugin/det/detection_model.py56 symbols
Matting/ppmatting/models/rvm.py54 symbols
contrib/MedicalSeg/medicalseg/models/nnformer.py53 symbols
paddleseg/models/backbones/strideformer.py51 symbols
paddleseg/models/backbones/top_transformer.py50 symbols
paddleseg/models/backbones/swin_transformer.py48 symbols

Dependencies from manifests, versioned

@paddlejs-mediapipe/opencv1.0.0 · 1×
@paddlejs-models/humanseg0.0.8 · 1×
@paddlejs/paddlejs-backend-webgl1.0.1 · 1×
@paddlejs/paddlejs-core2.0.1 · 1×
ts-loader8.0.12 · 1×
typescript3.9.5 · 1×
webpack4.29.6 · 1×
webpack-cli3.3.0 · 1×
webpack-dev-server3.2.1 · 1×
GDAL3.3.0 · 1×
SimpleITK2.1.1 · 1×

For agents

$ claude mcp add PaddleSeg \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact