The-AI-Summer/self-attention-cv

Implementation of various self-attention mechanisms focused on computer vision. Ongoing repository.

47
/ 100
Emerging

Provides modular PyTorch implementations of multi-head attention, axial attention, Vision Transformers, and positional embeddings using einsum/einops for efficient tensor operations. Includes pre-built architectures like ViT, ResNet50ViT, TransUnet, and BottleneckTransformer blocks that can be directly instantiated for image classification and segmentation tasks. Integrates with standard PyTorch workflows and includes relative/absolute positional embedding variants for 1D and 2D spatial attention.

1,215 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 21 / 25

How are scores calculated?

Stars

1,215

Forks

153

Language

Python

License

MIT

Last pushed

Sep 14, 2021

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/The-AI-Summer/self-attention-cv"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.