AltHub

xmu-xiaoma666/External-Attention-pytorch Alternatives

computer-vision attention mechanisms (PyTorch)

A PyTorch library of many attention mechanisms (external attention, SE, CBAM, ECA, etc.) plus MLP/re-parameterization/convolution building blocks for studying vision papers.

12.2kPythonMITactive · last push 7mo agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

kobiso/CBAM-kerasGitHub

Keras implementation of CBAM; choose it for Keras/TensorFlow projects.

CBAM implementation on Keras

367
Python
MIT
dormant5.7y ago
titu1994/keras-squeeze-excite-networkGitHub

Keras SE block implementation; choose it for Keras-based projects needing squeeze-and-excitation.

Implementation of Squeeze and Excitation Networks in Keras

402
Python
MIT
dormant6.6y ago
hujie-frank/SENetGitHub

Original Caffe/CUDA SE-Net implementation; choose it if your stack is Caffe rather than PyTorch.

Squeeze-and-Excitation Networks

3.6k
Cuda
Apache-2.0
dormant7.6y ago
taki0112/SENet-TensorflowGitHub

TensorFlow SE-Net implementation; choose it if you need SE blocks in TensorFlow.

Simple Tensorflow implementation of "Squeeze and Excitation Networks" using Cifar10 (ResNeXt, Inception-v4, Inception-resnet-v2)

755
Python
MIT
dormant8.2y ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

Jongchan/attention-moduleGitHub

Official PyTorch CBAM/BAM source; choose it when you need the canonical implementations of these two modules.

Official PyTorch code for "BAM: Bottleneck Attention Module (BMVC2018)" and "CBAM: Convolutional Block Attention Module (ECCV2018)"

2.2k
Python
MIT
dormant3.6y ago
changzy00/pytorch-attentionGitHub

Similar stale PyTorch collection with ViT/MLP variants; choose it if you want a broader transformer-style module set.

🦖Pytorch implementation of popular Attention Mechanisms, Vision Transformers, MLP-Like models and CNNs.🔥🔥🔥

550
Python
MIT
dormant2.8y ago
luuuyi/CBAM.PyTorchGitHub

Standalone PyTorch CBAM layer; choose it when you only need a simple CBAM module.

Non-official implement of Paper:CBAM: Convolutional Block Attention Module

1.5k
Python
none
dormant3.3y ago
The-AI-Summer/self-attention-cvGitHub

Older PyTorch self-attention collection for CV; choose it for a compact educational set.

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

1.2k
Python
MIT
dormant5.1y ago
ai-med/squeeze_and_excitationGitHub

PyTorch SE block with 2D/3D support; choose it if your model needs volumetric SE blocks.

PyTorch Implementation of 2D and 3D 'squeeze and excitation' blocks for Fully Convolutional Neural Networks

321
Python
MIT
dormant6.3y ago
BangguWu/ECANetGitHub

Official PyTorch ECA module code; choose it when you need just the ECA attention layer.

Code for ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks

1.4k
Python
MIT
dormant5.4y ago

Listed as an alternative to

These projects were analysed and named External-Attention-pytorch among their alternatives. The relationship is not symmetric — how External-Attention-pytorch rates them is a separate judgement, made when External-Attention-pytorch is analysed in its own right.

ddbourgin/numpy-mlGitHub

calls External-Attention-pytorch “PyTorch implementations of attention and MLP mechanisms; choose for a maintained, focused attention library instead of numpy-ml's minimal attention.”

Machine learning, in numpy

16.3kPythondormant