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.51k stars 532 forks source link

Why should provide a mask for damaged image in test mode? #127

Open DequanZhu opened 4 years ago

DequanZhu commented 4 years ago

Why must provided a mask if I want to repair a damage image, I mean sometimes I don't know which part is damaged, or damage part is everywhere. I have read some papers about inpainting, most networks in these papers must provided mask for training but no need for test mode. These networks can determine which part should to be repaired which means can repair damaged image automatically and yours must provided masks for every image.

anshen666 commented 4 years ago

你好,我最近也在跑这个代码。可以加你交流一下吗?我的微信:loveanshen 我的QQ:519838354 我的邮箱:519838354@qq.com 非常期待你百忙中的回复

sujaykhandekar commented 4 years ago

probably because it avoids usage of edges in the masked part by keeping it blank, since this model uses edge estimation and then inpainting it helps the output, other models such as pix2pixhd use just the inpainting part .

reddandelion217 commented 4 years ago

I agree with your opinion@DequanZhu,The mask can not always be knew, if mask must be provided, I think this methods lacks generalization.

YUKOULI commented 2 weeks ago

It's hard to diagree with your viewpoint! @DequanZhu