Focal Transformer
This is a codebase for our recently released paper "Focal Self-attention for Local-Global Interactions in Vision Transformers". It developed a new sparse self-attention mechanism called focal self-attention towards more effective and efficient vision transformers. The goal is the release the code to the public so that others can reproduce the results reported in our paper.