Comments (1)
For the file resnet_cbam.py, I think line31 and line 33 are not consistent with the paper. fc1 and fc2 should be nn.Linear because the paper said:
Both descriptors are then forwarded to a shared network
to produce our channel attention map Mc 2 RC�1�1. The shared network is
composed of multi-layer perceptron (MLP) with one hidden layer. To reduce
parameter overhead, the hidden activation size is set to RC=r�1�1, where r is
the reduction ratio.May I know why you use conv instead of Linear ?
1x1 Convs are often used instead of Linears to reduce the number of parameters.
from cbam.pytorch.
Related Issues (14)
- Can pytorch 0.4.0 use this code? HOT 1
- how to use grad cam to visualize the attention part? HOT 4
- 关于空间注意力模块的max_out出错
- Pre-trained model HOT 4
- what means of in_planes in ChannelAttention?
- 数据集要怎么弄
- I think there are some mistakes HOT 1
- 怎么运行 HOT 1
- Questions about ChannelAttention HOT 6
- Global Second Order Pooling HOT 3
- Can you share a pretrained model link for resnet50? HOT 1
- Error in testing HOT 1
- about accuracy? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbam.pytorch.