Focal-Transformer

Attention-based transformer

A vision transformer architecture that uses a novel attention mechanism to capture local-global interactions in images

[NeurIPS 2021 Spotlight] Official code for "Focal Self-attention for Local-Global Interactions in Vision Transformers"

GitHub

547 stars
16 watching
60 forks
Language: Python
last commit: over 4 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
google-research/nested-transformerAn implementation of a transformer-based vision model that aggregates local transformers on image blocks to improve accuracy and efficiency.195
leviswind/pytorch-transformerImplementation of a transformer-based translation model in PyTorch240
openai/sparse_attentionProvides primitives for sparse attention mechanisms used in transformer models to improve computational efficiency and scalability1,533
microsoft/vision-longformerAn implementation of a vision transformer architecture designed for high-resolution image encoding with multiple efficient attention mechanisms243
gamrix/cs231n_projThis project focuses on manipulating 3D views using deep learning techniques.6
ngxbac/gainA PyTorch implementation of an attention-guided inference network to focus on specific areas of objects in images48
chrislemke/sk-transformersProvides a collection of reusable data transformation tools10
microsoft/megatron-deepspeedResearch tool for training large transformer language models at scale1,926
feature-engine/feature_engineA Python library with multiple transformers to engineer and select features for use in machine learning models.1,956
gabeur/mmtDevelops a cross-modal architecture for video retrieval by combining multiple types of features from videos and text259
canjie-luo/moran_v2A deep learning framework for scene text recognition with rectification and attention mechanisms.639
pp00704831/banet-tip-2022A PyTorch implementation of an attention network for dynamic scene deblurring37
focalnet/networks-beyond-attentionA collection of modern neural network architectures for computer vision tasks that don't use self-attention mechanisms.77
pixart-alpha/pixart-sigmaDevelops a PyTorch model for 4K text-to-image generation using diffusion transformer1,711
jeonsworld/vit-pytorchA PyTorch implementation of the Vision Transformer model for image recognition tasks.1,959