#32 · Primary category: Deep Learning Frameworks

segmentation_models.pytorch

computer-vision deeplab-v3-plus deeplabv3 dpt fpn image-processing image-segmentation imagenet models pretrained-weights pspnet pytorch segformer segmentation segmentation-models semantic-segmentation transformers unet unet-pytorch unetplusplus

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

Project last updated:08/24/26

GitHub Stars

11.7K

Forks

1.8K

Contributors

79

License

MIT

Why we included this project

Semantic segmentation in PyTorch usually means wiring together an encoder, a decoder, and a handful of loss functions before you can even test an idea. This library collapses most of that setup into a few lines: pick an architecture like U-Net, DeepLabV3+, or Segformer, choose one of the 800-plus pretrained convolutional or transformer encoders (including timm backbones), and you have a working model ready for training. It also ships with the losses and metrics that actually matter for segmentation work, so you are not hunting down separate helper packages for Dice or Jaccard scores. Since everything is a standard PyTorch module, the models drop straight into existing training loops, and ONNX export or tracing is available when you need to ship them. That makes it a practical bridge between a quick prototype and a production segmentation service.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category