luuuyi/CBAM.PyTorch
luuuyi/CBAM.PyTorch has 1,505 GitHub stars and 288 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 05:19 UTC. Last push 2023-07-12.
Non-official implement of Paper:CBAM: Convolutional Block Attention Module
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalCBAM.PyTorch
Non-official implement of Paper:CBAM: Convolutional Block Attention Module
Introduction
The codes are PyTorch re-implement version for paper: CBAM: Convolutional Block Attention Module
Woo S, Park J, Lee J Y, et al. CBAM: Convolutional Block Attention Module[J]. 2018. ECCV2018
Structure
The overview of CBAM. The module has two sequential sub-modules: channel and spatial. The intermediate feature map is adaptively refined through our module (CBAM) at every convolutional block of deep networks.

Requirements
- Python3
- PyTorch 0.4.1
- tensorboardX (optional)
- torchnet
- pretrainedmodels (optional)
Results
We just test four models in ImageNet-1K, both train set and val set are scaled to 256(minimal side), only use Mirror and RandomResizeCrop as training data augmentation, during validation, we use center crop to get 224x224 patch.
ImageNet-1K
| Models | validation(Top-1) | validation(Top-5) |
|---|---|---|
| ResNet50 | 74.26 | 91.91 |
| ResNet50-CBAM | 75.45 | 92.55 |
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,753 starspublic-apis/public-apis
A collective list of free APIs
496,972 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
440,606 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,134 stars