Zheng222 / DMFN

Image Fine-grained Inpainting (Winner Award of ECCVW AIM 2020 Extreme Inpainting Track1&Track2)
248 stars 29 forks source link

Doubt about the input of the mask to the local discriminator #7

Open freaky-perceptron opened 4 years ago

freaky-perceptron commented 4 years ago

Hi, the method described in the paper is really amazing! I am implementing your paper. I have a doubt about how should be patch or mask arrangement as an input to the local discriminator. In the paper, the figure has a description of the square sized patch/mask. but how would it be cropped in case of a random mask? like the mask can be distributed randomly all over the image pixels

I would like to hear from you soon. thanks!

Zheng222 commented 4 years ago

@bhaveshIITB Hello, for irregular masks, the random regular regions are cropped and sent to the local discriminator.

Daiqy commented 4 years ago

Hi, I'm so sorry I haven't understood. Could you describe specifically how to crop the random regular regions in the target and output image for irregular cases? Thank you!