Semantic Segmentation
Label every pixel in an image with a class to map areas and surfaces, then train and deploy your own semantic segmentation model on Roboflow.
What is semantic segmentation?
Semantic segmentation gives every pixel in an image a class. The model returns a map the same size as the image, where each pixel holds a class (ex: "road", "water", "background"). It does not split objects of the same class apart: two touching cars become one "car" region. Use it for areas and surfaces rather than countable objects. To separate each object, use Instance Segmentation.

Supported semantic segmentation models
Roboflow supports these semantic segmentation models. See the Semantic Segmentation models table for export and deployment support per model.
Fine-tuning a semantic segmentation model
Create a semantic segmentation project
Create a Project and pick "Semantic Segmentation" as the project type.

Upload and annotate images
Upload images, then label each region in the annotation editor. Use Smart Select to outline a region in one click or Label Assist to suggest masks from a model, or paint by hand with the Brush tool. Auto Label does not support semantic segmentation projects.

Generate a dataset version
Generate a dataset version: a frozen snapshot of your images with a train, valid, and test split, plus any preprocessing and augmentation.
Train a semantic segmentation model
Click "Train", choose "Custom Training", and pick an architecture and size. See Train a Model for every option.

Deploy a semantic segmentation model
After training, deploy your semantic segmentation model with the Serverless Cloud API, a Dedicated Deployment, or on your own hardware with Roboflow Inference. See Choosing a Deployment to compare the options.
Last updated
Was this helpful?