Segment Anything by Meta features the Segment Anything Model (SAM), a cutting-edge AI model from Meta AI that lets you “cut out” any object from any image with just a single click.SAM is a promptable segmentation system with zero-shot generalization to unfamiliar objects and images, without the need for additional training.
Segment Anything (Meta) Features
Training the model: SAM’s data engine
SAM’s advanced capabilities stem from being trained on millions of images and masks collected using a model-in-the-loop data engine. Researchers used SAM and its data to interactively annotate images and update the model. This process was repeated iteratively to improve both the model and the dataset.
11M images, 1B+ masks
After annotating a sufficient number of masks with the help of SAM, we were able to fully automate the annotation of new images using SAM’s advanced prompt-aware design. To do this, we provided SAM with a grid of points on the image and instructed it to segment everything at each point. Our final dataset contains over 1.1 billion segmentation masks, collected from approximately 11 million licensed and privacy-protected images.
Efficient & flexible model design
SAM was designed to enable its efficient data engine to operate at full capacity. The model is divided into:
- a one-time image encoder, and
- a lightweight mask decoder, which can run in a web browser in just a few milliseconds per prompt.