GitHub · #659

xmu-xiaoma666/External-Attention-pytorch

🍀 Pytorch implementation of various Attention Mechanisms, MLP, Re-parameter, Convolution, which is helpful to further understand papers.⭐⭐⭐ On Linux: git clone, python3 -m venv .venv, then pip install -e . 12,181 GitHub stars (#659 in this directory).

Repository
https://github.com/xmu-xiaoma666/External-Attention-pytorch
Owner
xmu-xiaoma666 (User)
Stars
12,181
Forks
1,933
Open issues
69
Language
Python
License
MIT
Created
2021-05-08
Last push
2026-03-16
Topics
attention, cbam, excitation-networks, linear-layers, paper, pytorch, squeeze, visual-tasks
Snapshot
2026-10-18 · weekly refresh

Try it on Shadowfetch Linux.

Shadowfetch Linux is a Debian testing desktop with KDE Plasma, local AI tools, and ShadowCode. Clone this repository there, follow the steps for its primary language, and ask ShadowCode to finish the build.

Clone and set up a Python environment.

git clone https://github.com/xmu-xiaoma666/External-Attention-pytorch.git
cd External-Attention-pytorch
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

If the project has no installable package, use the README’s requirements file or conda notes instead of pip install -e .

ShadowCode prompt.

Paste this into ShadowCode after you open the project.

Clone https://github.com/xmu-xiaoma666/External-Attention-pytorch into ~/Workspaces/External-Attention-pytorch.
Read the README.
On this Shadowfetch Linux desktop, create a Python virtualenv, install from the README, then run or import the project.
Ask before installing packages or using the network.

Download Shadowfetch Linux — ISO, checksum and signature.

Back to the GitHub directory · Methodology