hszhao / SAN

Exploring Self-attention for Image Recognition, CVPR2020.
MIT License
747 stars 132 forks source link

Where is the mapping function as your paper said ? #17

Open Johnson-yue opened 3 years ago

Johnson-yue commented 3 years ago

image image

But in the code https://github.com/hszhao/SAN/blob/d88b022fc3ec4920d4596f94983f0e5b1ced62c6/model/san.py#L39-L42

I think the self.conv_w is the mapping function but it is different from paper

code: BN -> R -> Conv -> BN -> R -> Conv paper: L -> R -> L

is the better performance by this code than paper format ?