Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SAM 2: Segment Anything in Images and Videos

About

We present Segment Anything Model 2 (SAM 2), a foundation model towards solving promptable visual segmentation in images and videos. We build a data engine, which improves model and data via user interaction, to collect the largest video segmentation dataset to date. Our model is a simple transformer architecture with streaming memory for real-time video processing. SAM 2 trained on our data provides strong performance across a wide range of tasks. In video segmentation, we observe better accuracy, using 3x fewer interactions than prior approaches. In image segmentation, our model is more accurate and 6x faster than the Segment Anything Model (SAM). We believe that our data, model, and insights will serve as a significant milestone for video segmentation and related perception tasks. We are releasing our main model, dataset, as well as code for model training and our demo.

Nikhila Ravi, Valentin Gabeur, Yuan-Ting Hu, Ronghang Hu, Chaitanya Ryali, Tengyu Ma, Haitham Khedr, Roman R\"adle, Chloe Rolland, Laura Gustafson, Eric Mintun, Junting Pan, Kalyan Vasudev Alwala, Nicolas Carion, Chao-Yuan Wu, Ross Girshick, Piotr Doll\'ar, Christoph Feichtenhofer• 2024

Related benchmarks

TaskDatasetResultRank
Video Object SegmentationDAVIS 2017 (val)
J mean87.5
1193
Visual Object TrackingLaSOT (test)
AUC70
446
Object TrackingLaSoT
AUC70
411
Visual Object TrackingGOT-10k (test)
Average Overlap80.7
408
Visual Object TrackingGOT-10k
AO80.7
254
Video Object SegmentationYouTube-VOS 2019 (val)
J-Score (Seen)85.2
231
Camouflaged Object DetectionCOD10K
S-measure (S_alpha)0.89
178
Visual Object TrackingVOT 2020 (test)
EAO0.681
147
Medical Image SegmentationISIC 2018
Dice Score87.46
139
Video Semantic SegmentationVSPW (val)
mIoU49.2
121
Showing 10 of 361 rows
...

Other info

Code

Follow for update