Open RyanHangZhou opened 2 years ago
The model currently does not support arbitrary image size, but you can try split the image into multiple parts and inpaint each part separately if the mask is not too large.
The model currently does not support arbitrary image size, but you can try split the image into multiple parts and inpaint each part separately if the mask is not too large.
Thanks! I tried on resized ones and it works well on small-size images. I have to say that the mask is actually very large with my setting, and I don't want to downsample it ...
We cam make it generalize to arbitrary size by add a global pooling layer to the 'E_4x4' block. However I'm not sure if this would affect the performance
Very impressive work! Does this algorithm support image inpainting of arbitray image size? It seems to have errors if directly dealing with image size that is not 512X512.