The-AI-Summer/self-attention-cv
Implementation of various self-attention mechanisms focused on computer vision. Ongoing repository. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2040
- days_rel: n/a
- days_push: 1814
- n_releases_24m: 0
Adoption not part of the score
1214 stars · 152 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch library implementing various self-attention mechanisms and transformer building blocks for computer vision, including multi-head attention, axial attention, Vision Transformers, and TransUNet. It is pip-installable and built with einsum and einops.
Use cases
- implement vision transformer for image classification
- add self-attention blocks to a CNN in PyTorch
- build a TransUNet segmentation model
- learn how multi-head self-attention works with code
- use axial attention for image feature maps
- experiment with transformer encoder blocks in PyTorch
When to choose
- you need ready-made PyTorch implementations of vision attention modules
- you want a lightweight pip-installable library for ViT-style models
- you are studying or prototyping attention mechanisms for images
When to avoid
- you need production-grade, actively maintained transformer code
- you work in TensorFlow or JAX instead of PyTorch
- you need large-scale pretrained vision models rather than building blocks
Facets
library · maturity maintenance
machine-learning deep-learning image-processing deep-learning computer-vision machine-learning artificial-intelligence python cross-platform pytorch self-attention transformer vision-transformer einops attention-mechanism transunet axial-attention gpu
9 sources
- readme: https://github.com/The-AI-Summer/self-attention-cv · fetched 2026-08-28 · ec6ef2515160
- homepage: https://theaisummer.com/ · fetched 2026-08-29 · 3d3d850175aa
- site_page: https://theaisummer.com/about · fetched 2026-08-29 · 45ef0f87d5ec
- site_page: https://theaisummer.com/transformers-computer-vision · fetched 2026-08-29 · 614c047e5e25
- site_page: https://theaisummer.com/medical-image-deep-learning · fetched 2026-08-29 · b4983ed5dea3
- site_page: https://theaisummer.com/classifier-free-guidance · fetched 2026-08-29 · fcceb061f758
- site_page: https://theaisummer.com/iccv-2023 · fetched 2026-08-29 · 7ee5ac0208dc
- site_page: https://theaisummer.com/apache-airflow-tutorial · fetched 2026-08-29 · bfd889f5575b
- site_page: https://theaisummer.com/learn-pytorch · fetched 2026-08-29 · 51aa80054694
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| The-AI-Summer/self-attention-cv | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="The-AI-Summer/self-attention-cv")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem