SAM 2:在图像和视频中分割一切

SAM 2: Segment Anything in Images and Videos

罗斯·吉尔希克 Ross Girshick · Meta AI · 2024-08-01 · arXiv:2408.00714 ↗ · 被引 3606

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们提出了 Segment Anything Model 2(SAM 2),这是一个用于解决图像和视频中可提示视觉分割的基础模型。我们构建了一个数据引擎,通过用户交互改进模型和数据,收集了迄今为止最大的视频分割数据集。我们的模型是一个简单的 Transformer 架构,带有流式内存,用于实时视频处理。基于我们的数据训练的 SAM 2 在广泛的任务中表现出强大的性能。在视频分割中,我们观察到更好的准确性,使用的交互次数比先前方法少 3 倍。在图像分割中,我们的模型比 Segment Anything Model(SAM)更准确,速度快 6 倍。我们相信,我们的数据、模型和见解将成为视频分割及相关感知任务的重要里程碑。我们正在发布我们的主要模型、数据集以及模型训练和演示的代码。

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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 31)

阅读逐段中英对照全文 →