Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified NL #35

Open
Shiro-LK opened this issue Feb 28, 2020 · 1 comment
Open

Simplified NL #35

Shiro-LK opened this issue Feb 28, 2020 · 1 comment

Comments

@Shiro-LK
Copy link

Shiro-LK commented Feb 28, 2020

Hi,

Thank you for your interesting papers and sharing the code.
I have a question about the paper, in particular the simplified NL module.

If I understand well, you are using the self attention in order to get some features which will permits you , then to weighted the different channel of your input images right ?

So if I want to code it from your code it will give :


context = self.spatial_pool(x) # dim context: NxCx1x1
output = conv2D(context) # conv1x1 with C input channels and C output channels , dim output NxCx1x1 

return x + output 

is that right ?

@xvjiarui
Copy link
Owner

xvjiarui commented Mar 5, 2020

Hi @Shiro-LK ,
Sorry for the late reply.
Yes, your implementation is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants