generative-inpainting-pytorch
generative-inpainting-pytorch copied to clipboard
About contextual attention.
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!
Thanks for asking!
- For the 'mm' in 'contextual_attention', I followed the same naming here. From this issue, 'mm' indicates the background region after softmax.
- Sorry, I am not sure what you mean that 'then conv two times'.
看代码,一个batch只用了一个mask,如果一个image对应一个mask的话,代码是否需要修改下?