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

About contextual attention. #25

Open
BlossomingL opened this issue Dec 20, 2019 · 2 comments
Open

About contextual attention. #25

BlossomingL opened this issue Dec 20, 2019 · 2 comments

Comments

@BlossomingL
Copy link

Hi~ First, Your implemention is awesome, thank you! But I have some question.
1.What's the meaning of 'mm' in function 'contextual_attention'
2.I'am confused that after 'xi' and 'wi_normed' conv, then conv two times
It's kind of you if you could help me!

@daa233
Copy link
Owner

daa233 commented Dec 22, 2019

Thanks for asking!

  1. For the 'mm' in 'contextual_attention', I followed the same naming here. From this issue, 'mm' indicates the background region after softmax.
  2. Sorry, I am not sure what you mean that 'then conv two times'.

@herbiezhao
Copy link

看代码,一个batch只用了一个mask,如果一个image对应一个mask的话,代码是否需要修改下?

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

3 participants