SAM, read beside the paper
The paper and its explanation side by side.
- Part 1: The Big Idea: Segment Anything
Meet SAM, a model that cuts one object out of a photo after one click. We read the first two pages of the paper, and we run SAM on a photo of two cats.
- Part 2: The Task: Promptable Segmentation
What SAM must learn: a valid mask for any prompt. We read §2 and Figure 3 of the paper, and we test ambiguous clicks, extra points, boxes and the paper's training game on the cat photo.
- Part 3: The Model: Encoder, Prompts and Decoder
How SAM turns a photo and a click into three masks and three scores. We open the released model, follow each tensor through it, and compute its training loss by hand.
- Part 4: The Data Engine and SA-1B
How SAM first helped people draw masks, and then drew 1.1 billion masks by itself. We rebuild its automatic step on two photos and check each filter.
- Part 5: Zero-Shot Experiments: One Model, Five Tasks
The paper tests SAM on pictures and jobs that it never saw in training. We explain each score, and we repeat the tests in small on 40 objects drawn by people.
- Part 6: After SAM: Impact, Limits and Summary
Where SAM fails, measured with the released model on a bicycle, a drawn wheel and an edge with teeth. Then five later papers that fixed those limits, and the whole paper in one page.