#20 · Primary category: Computer Vision
vit-pytorch
Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch
Project last updated:08/27/26
GitHub Stars
25.5K
Forks
3.5K
Contributors
28
License
MIT
Why we included this project
Most people know this repo as the PyTorch reference for the original Vision Transformer, the architecture that showed image classification could be done with a single transformer encoder and no convolutional backbone. Its real value is the breadth: clean, dependency-light implementations of the base ViT and a long list of follow-ups, including SimpleViT, CaiT, CvT, MobileViT, MaxViT, XCiT, and masked autoencoder pretraining, so you can swap architectures and compare them without reimplementing each paper yourself. Each variant is a small, readable class with a short usage snippet, which makes the codebase a good place to start when you want to prototype or understand how these models are actually wired. It is a research-oriented library rather than a model zoo, so you bring your own weights and training loop; for pretrained checkpoints, pair it with something like timm. If you are exploring transformer-based vision or building a custom classification pipeline, this is a fast way to test ideas.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)