segmentation models

This repository provides segmentation models with pretrained backbones for Keras and TensorFlow Keras.

github.com/qubvel/segmentation_models
segmentation models homepage screenshot

About segmentation models

segmentation_models is an open source Python library for image segmentation built for Keras and TensorFlow Keras. It provides 4 standard segmentation model architectures (Unet, FPN, Linknet, PSPNet) with 25 pretrained backbones per architecture, plus built-in segmentation losses (Jaccard, Dice, Focal) and metrics (IoU, F-score). Pretrained encoder weights enable faster model convergence, though version 1. models are not backward compatible with models trained on version 0. releases, which can be accessed by installing version 0.2.1.

Key features

  • High-level API for building segmentation models with minimal code
  • 4 segmentation model architectures (Unet, FPN, Linknet, PSPNet)
  • 25 pretrained backbones available per model architecture
  • Pretrained encoder weights for faster model convergence
  • Built-in segmentation losses and metrics (Jaccard, Dice, Focal, IoU, F-score)
  • Supports both Keras and TensorFlow Keras frameworks
Best for: Developers and researchers building image segmentation models with Keras or TensorFlow Keras.
Good for
  • Open source and freely available for use and modification
  • Pretrained backbones reduce training time and improve convergence
  • Supports multiple common segmentation architectures and Keras frameworks
Watch out for
  • Version 1.* models are not backward compatible with 0.* trained models
  • Pretrained encoder weights cannot be used for non-3-channel input shapes

segmentation models at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

segmentation models alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in AI Data & Analytics

Well-known listings from the same topic.

All 302

segmentation models FAQ

Which deep learning frameworks does the library support?
It works with Keras and TensorFlow Keras, with options to switch between them via environment variable or set_framework method.
What segmentation model architectures are included?
The library includes Unet, FPN, Linknet and PSPNet architectures.
Can pretrained weights be used for custom input channel counts?
No, pretrained encoder weights only work for 3-channel inputs; set encoder_weights=None for other channel counts.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing