SAM 3 segments from a word, a box or an example

SAM 3 (Segment Anything 3) is Meta AI's model that segments every object a short noun phrase or an example names, not only the one you click. In Supervisely it works as a Smart Tool model, labels video with masks or bounding boxes, and has a fine-tuning app of its own.

Poster of Segment Anything 3: fast and precise segmentation of any object in any video or image
Publisher
Meta AI
Labels
  • Bitmap masks
  • Bounding boxes
Apps
Serve, Fine-tune
Source
GitHub

Apps in the Supervisely Ecosystem

Every model in Supervisely comes as a Supervisely App: a module from the Ecosystem that plugs into the platform and runs on your own GPU, with no code to install. A Serve App puts the model behind the labeling tools, and where the model can be trained, a Train App fits it to your labeled project. All Apps work on the same projects, so you add a model, update it or swap it for another without changing anything else.

What is Segment Anything 3?

Segment Anything 3 is Meta's unified model for detecting, segmenting and tracking objects in images and video (code). It generalizes SAM 2 with a new task, promptable concept segmentation: given a concept, the model returns a mask for each instance of it, wherever it appears. Under the hood it combines the SAM line with a DETR-style detector, and its image and text encoders were trained together on 5.4 billion image-text pairs.

Three kinds of prompt

PromptWhat you giveWhat you get
TextA short noun phrase, such as "hard hat" or "ripe tomato"A mask for every matching object
ExemplarOne example object in the imageMasks for the objects that look like it
VisualPoints, a box or a mask, as with SAM 2The mask of the object you marked

Text prompts are what set SAM 3 apart on labeling work. A crowded shelf, a field of bales or a car park no longer needs a click per object: one phrase labels them all, and the annotator removes the false hits and adds the few that were missed. The image labeling toolbox runs it through the Smart Tool with the same controls as SAM 2.1.

Long videos with masks or boxes

In the video labeling toolbox SAM 3 tracks objects as masks or as bounding boxes, whichever your project labels. The Supervisely integration keeps GPU memory use steady over long clips; according to the app's README, videos of 500 frames label without running out of CUDA memory.

Fine-tune SAM 3 when a concept is specific to you

A phrase like "scratch" or "defect" means something narrow in your data that a general model has not learned. The Fine-tune Segment Anything 3 app trains the model on a labeled project: choose the checkpoint, how the data is split and the training hyperparameters, then watch the run. A notebook in the repository loads the fine-tuned model outside Supervisely.

Projects for fine-tuning can start from labels you already have: COCO instance masks, PNG masks or Cityscapes polygons, all imported into a Supervisely project.

SAM 3, SAM 2.1 or a detector?

  • Pick SAM 3 when the work is "label every X": it goes from a phrase straight to masks.
  • Keep SAM 2.1 when annotators segment single objects by clicking, or when your team already has a fine-tuned SAM 2.1 that fits the data.
  • For boxes only, Grounding DINO and Florence-2 detect from text as well; the Florence-2 + SAM 2 app adds masks to their boxes over a whole project.
  • Once the dataset exists, train a model of your own classes, such as YOLO or DEIMv2, and check it on the evaluation report.

To serve SAM 3 on your own agent you need a GPU. In Supervisely Cloud you can label with the interactive models the platform runs for all users.

Frequently asked questions.

Can SAM 3 replace a trained detector?

It finds objects by name without training, which is enough to pre-label a dataset. A model trained on your own classes is built for exactly those classes, so SAM 3 most often builds the dataset that such a model learns from.

What is the difference between SAM 2 and SAM 3?

SAM 2 segments the one object you point at with clicks, a box or a mask, in images and video. SAM 3 adds concept prompts: give it a short phrase or an example, and it returns a mask for every matching object. It still accepts the same visual prompts as SAM 2.

Is SAM 3 open source and free to use?

Meta releases SAM 3 under its own SAM License, which allows use and modification at no cost with some restrictions, and the checkpoints are downloaded from Hugging Face after an access request. In Supervisely you serve it on your own GPU through the Serve Segment Anything 3 app.

Can SAM 3 run on a CPU?

Not for practical labeling work. The Supervisely apps serve and fine-tune SAM 3 on a GPU; on Supervisely Cloud you can also label with the interactive models the platform runs for all users.

How does SAM 3 work?

SAM 3 combines the Segment Anything line with a DETR-style detector. Given a concept, a short noun phrase or an example box, it returns a mask for every instance of it in an image or a video; its image and text encoders were trained together on 5.4 billion image-text pairs. In Supervisely you type the phrase in the Smart Tool, then remove false hits and add what it missed.

Train and serve models on your own data.

Label a project in a free account, train a model on it from the browser and deploy it on your own GPU. Or book a demo to run Supervisely on your servers.