knazeri / edge-connect

EdgeConnect: Structure Guided Image Inpainting using Edge Prediction, ICCV 2019 https://arxiv.org/abs/1901.00212
http://openaccess.thecvf.com/content_ICCVW_2019/html/AIM/Nazeri_EdgeConnect_Structure_Guided_Image_Inpainting_using_Edge_Prediction_ICCVW_2019_paper.html
Other
2.5k stars 530 forks source link

Strange white points in filling content? #56

Closed hughplay closed 5 years ago

hughplay commented 5 years ago

When I using the pre-trained Places2 model to inpaint, there are always some white points in the output? Do I miss something or this is normal? How can I remove this white points? The inpainting result is pretty good if without these white points.

Masked Image: image Output with default mode: image

hughplay commented 5 years ago

Oh, I see another issue about the same problem. I will change (mask>0) to (mask>127) and see the effect.

hughplay commented 5 years ago

The result is normal now. Good job!

image