r/computervision • u/imapurplemango • Apr 13 '23
Discussion Segment anything in an image using SAM
115
Upvotes
10
u/rocauc Apr 13 '23
What I found cool:
Dataset is open source - 11M images, 1.1B masks [1]
The dataset was labeled in phases with help from SAM along the way (SAM improving SAM!) [2]
The encoder runs neatly separately from the decoder, which is why Meta claims such fast times for prompt -> target mask
SAM can do zero-shot out of the box (Colab example: https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/how-to-segment-anything-with-sam.ipynb?ref=blog.roboflow.com)
[1] https://arxiv.org/abs/2304.02643
[2] https://blog.roboflow.com/segment-anything-breakdown/
9
u/imapurplemango Apr 13 '23
Quick read here:
https://www.qblocks.cloud/byte/segment-anything-in-image-meta-sam/
SAM is a general model by Meta and it can generate masks for any object in any image or video, even in previously unseen domains, without requiring additional training.
Developed by Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C. Berg, Wan-Yen Lo, Piotr Dollar & Ross Girshick from Meta AI