qubvel-org/segmentation_models.pytorch
Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.
Provides 12 encoder-decoder architectures (Unet, Unet++, Segformer, DPT, UPerNet) with integrated task-specific losses (Dice, Jaccard, Tversky) and preprocessing functions matched to each encoder's training regime. Supports timm backbone integration for seamless access to 800+ pretrained encoders, with production-ready export to ONNX and TorchScript formats. Models are standard PyTorch modules instantiable in two lines of code with configurable input channels and auxiliary classification outputs.
11,398 stars. Used by 1 other package. Actively maintained with 84 commits in the last 30 days. Available on PyPI.
Stars
11,398
Forks
1,832
Language
Python
License
MIT
Last pushed
Mar 13, 2026
Commits (30d)
84
Dependencies
8
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/qubvel-org/segmentation_models.pytorch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related models
OSUPCVLab/SegFormer3D
Official Implementation of SegFormer3D: an Efficient Transformer for 3D Medical Image...
tue-mps/eomt
[CVPR 2025 Highlight] Official code and models for Encoder-only Mask Transformer (EoMT).
jeya-maria-jose/Medical-Transformer
Official Pytorch Code for "Medical Transformer: Gated Axial-Attention for Medical Image...
davidiommi/Pytorch--3D-Medical-Images-Segmentation--SALMON
Segmentation deep learning ALgorithm based on MONai toolbox: single and multi-label segmentation...
lambdavi/SatDrive-SegFL
MLDL '23 Project: Federated Learning and Semantic Segmentation for Autonomous Driving and...