Segmentation Models PyTorch
A code library for building AI models that outline objects in images, pixel by pixel.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
A code library for building AI models that outline objects in images, pixel by pixel.
Segmentation Models PyTorch (SMP) helps programmers build image segmentation models. Segmentation means the AI labels every pixel in a picture, for example marking which pixels are road, car or sky.
It offers a dozen well-known model designs and hundreds of pre-trained starting points, so you don't have to train everything from zero. Its makers say a model can be created in two lines of code.
It also includes common ways to measure accuracy, and models can be exported for use in other software.
Developers and researchers working on medical images, satellite photos, self-driving or other vision projects.
Developers only. This is a Python library for people who write and train their own models. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?