HackerPapers

arXiv:1806.03589cs.CV

Free-Form Image Inpainting with Gated Convolution

Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, Thomas Huang

Abstract

We present a generative image inpainting system to complete images with free-form mask and guidance. The system is based on gated convolutions learned from millions of images without additional labelling efforts. The proposed gated convolution solves the issue of vanilla convolution that treats all input pixels as valid ones, generalizes partial convolution by providing a learnable dynamic feature selection mechanism for each channel at each spatial location across all layers. Moreover, as free-form masks may appear anywhere in images with any shape, global and local GANs designed for a single rectangular mask are not applicable. Thus, we also present a patch-based GAN loss, named SN-PatchGAN, by applying spectral-normalized discriminator on dense image patches. SN-PatchGAN is simple in formulation, fast and stable in training. Results on automatic image inpainting and user-guided extension demonstrate that our system generates higher-quality and more flexible results than previous methods. Our system helps user quickly remove distracting objects, modify image layouts, clear watermarks and edit faces. Code, demo and models are available at: https://github.com/JiahuiYu/generative_inpainting

arXiv comments
Accepted in ICCV 2019 Oral; open sourced; interactive demo available: http://jiahuiyu.com/deepfill/
Journal reference
DOI
Subjects
cs.CVComputer Vision and Pattern Recognition cs.GRGraphics cs.LGMachine Learning

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Sep 2018 to Oct 2018.

Comments linking this paper, per year.

Discussed in comments2 threads

    • I believe "Image Inpainting for Irregular Holes Using Partial Convolutions" has been superseded by "Free-Form Image Inpainting with Gated Convolution", especially for interactive use cases? https://arxiv.org/pdf/1806.03589.pdf http://jiahuiyu.com/deepfill2/ I think the most…

      zawerfView on HNParent context

    • If you're interested in seeing the top of the line inpainting results, you should check out DeepFill and DeepFill2. http://jiahuiyu.com/deepfill2/ Deep Angel is based on an architecture combining Mask R-CNN (for object detection and instance segementation) and DeepFill for image…

      mattgrohView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.