SESK: Stuff Everyone Should Know · sesk.info/ai-vision-transformer-patches
How does a Vision Transformer (ViT) feed an image into a Transformer?
As a sequence of image patches, treated like words.
- One pixel at a time, as text
- As a sequence of small image patches ✔
- Through a convolutional network first
Why: ViT cuts the image into a grid of small squares, turns each into a vector, and feeds them in order like tokens. The 2020 paper showed this works well without any convolutions.
Huh, didn't know that: The paper's title is An Image is Worth 16x16 Words.
A Vision Transformer looks at a picture like I do a puzzle. One square at a time, and still confused.
Like this card?
References
Answer: As a sequence of small image patches. ViT cuts the image into a grid of small squares, turns each into a vector, and feeds them in order like tokens. The 2020 paper showed this works well without any convolutions.
- Dosovitskiy et al., An Image is Worth 16x16 Words (arXiv 2010.11929) arxiv.org/abs/2010.11929
a pure transformer applied directly to sequences of image patches can perform very well on image classification tasks
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.