edge-connect icon indicating copy to clipboard operation
edge-connect copied to clipboard

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

Open DequanZhu opened this issue 6 years ago • 4 comments

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.

DequanZhu avatar Nov 07 '19 12:11 DequanZhu

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

anshen666 avatar Dec 10 '19 08:12 anshen666

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 .

sujaykhandekar avatar Jul 27 '20 03:07 sujaykhandekar

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

reddandelion217 avatar Jul 27 '20 12:07 reddandelion217