Jongchan / attention-module

Official PyTorch code for "BAM: Bottleneck Attention Module (BMVC2018)" and "CBAM: Convolutional Block Attention Module (ECCV2018)"
MIT License
2.06k stars 402 forks source link

confusion about BAM and CBAM attribute type #14

Open CaptainEven opened 5 years ago

CaptainEven commented 5 years ago

What 's the correlation and difference between BAM and CBAM?

UtopiaHu commented 3 years ago

I think CBAM is a cascade of channel attention and spatial attention , and BAM is a parallel connection of this two modules