qubvel-org/segmentation_models.pytorch

Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.

84
/ 100
Verified

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.

Maintenance 25 / 25
Adoption 11 / 25
Maturity 25 / 25
Community 23 / 25

How are scores calculated?

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.