generative-inpainting-pytorch icon indicating copy to clipboard operation
generative-inpainting-pytorch copied to clipboard

About contextual attention.

Open BlossomingL opened this issue 5 years ago • 2 comments

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!

BlossomingL avatar Dec 20 '19 14:12 BlossomingL

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'.

daa233 avatar Dec 22 '19 04:12 daa233

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

herbiezhao avatar Nov 30 '21 08:11 herbiezhao