计算机科学 > 计算机视觉与模式识别
[提交于 2022年2月13日 (v1),最后修订于 2022年8月14日 (此版本, v3)]
标题:Do Inpainting Yourself: Generative Facial Inpainting Guided by Exemplars
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present EXE-GAN, a novel exemplar-guided facial inpainting framework using generative adversarial networks. Our approach can not only preserve the quality of the input facial image but also complete the image with exemplar-like facial attributes. We achieve this by simultaneously leveraging the global style of the input image, the stochastic style generated from the random latent code, and the exemplar style of exemplar image. We introduce a novel attribute similarity metric to encourage networks to learn the style of facial attributes from the exemplar in a self-supervised way. To guarantee the natural transition across the boundaries of inpainted regions, we introduce a novel spatial variant gradient backpropagation technique to adjust the loss gradients based on the spatial location. Extensive evaluations and practical applications on public CelebA-HQ and FFHQ datasets validate the superiority of EXE-GAN in terms of the visual quality in facial inpainting.