houqb / CoordAttention

Code for our CVPR2021 paper coordinate attention
MIT License
997 stars 121 forks source link

How to establish channel attention? #4

Open lzy-whut opened 3 years ago

lzy-whut commented 3 years ago

In 2.2. Attention Mechanisms of this paper mentations: "our approach considers a more efficient way of capturing positional information and channel-wise relationships to augment the feature representations for mobile networks."

However, I`m confused how to establish channel attention?

houqb commented 3 years ago

Two 1x1 convs are used to build the inter-channel relationship.

lzy-whut commented 3 years ago

Thank for your answer!

mxllcf commented 3 years ago

t

Why does the two 1*1 convs have this effect,how can them build the inter-channel relationship?

mxllcf commented 3 years ago

1*1的效果可以替代SEblock中的两个全连接层吗?

houqb commented 3 years ago

Channel attention is based on the capability of capturing global information. We do this by using two different types of pooling operations.

mxllcf commented 3 years ago

Channel attention is based on the capability of capturing global information. We do this by using two different types of pooling operations. Thank you for your reply. Do you think it will improve the effect of semantic segmentation when it is used in U_Net?

houqb commented 3 years ago

According to my knowledge, the answer is yes.