Closed violetamenendez closed 4 years ago
Turns out I reduced the size of the mask image using bilinear interpolation so the values weren't black & white, but they have greys inbetween which was confusing the mode. I used nearest neighbours to reduce the size and it's working now.
Apologies for the noise.
Hi,
I have run this model before successfully before with my own image, using the masks provided by the dataset you used. I have tried using it again with my own masks, but the results I am getting are like the masked region is way bigger than the one I am actually using, so the edge model doesn't work properly, as there is too much area too inpaint. Doo you have any idea of what I could be doing wrong?
Images: Input image and mask![input_image](https://user-images.githubusercontent.com/7942407/80821389-8770da80-8bd0-11ea-8271-a12140412109.png)
Debugging result output, masked, egde, and final inpainted result:![output_masked](https://user-images.githubusercontent.com/7942407/80821424-99527d80-8bd0-11ea-8528-606f867469ec.png)
config.yml
running command:
python test.py --input examples/myimages/images/occ0-test-small-square.png --mask examples/myimages/masks/mask0-test-small-square.png --output checkpoints/myimages-results/occ0_output --checkpoints checkpoints/places2/