chainer-partial_convolution_image_inpainting icon indicating copy to clipboard operation
chainer-partial_convolution_image_inpainting copied to clipboard

Obvious outline around the hole

Open zgxiangyang opened this issue 6 years ago • 3 comments

Hi, I produced my own irregular hole masks (more bigger, like objects). The result is like this: image

the content inner the hole is good ,but there is an obvious line around the outline。

And all the Iout images have 2 or 3 pixels offset from the corresponding Igt image. Maybe this is the reason why the uncoordinated occur.

Thank you.

zgxiangyang avatar Jul 09 '18 03:07 zgxiangyang

i got same problem. How to fix this bug? thanks

AmanuelHirpa avatar Jan 14 '19 12:01 AmanuelHirpa

Unfortunately, I'm still not sure about the cause of this issue.
I'm pleased if you find the bug in the code.
Best,

SeitaroShinagawa avatar Jan 15 '19 16:01 SeitaroShinagawa

I just wanted to give a suggestion ^^. I haven't use chainer before, but I saw a lot of resizing function. just make sure that the interpolation of the resize function for the mask is Nearest Neighbor, so you ensure that the values of the mask are binary (0 and 1). (Nearest Neighbor doesn't alter the values of the input)

PaperKites avatar Jan 16 '20 11:01 PaperKites