about
Resolution-Robust Large Mask Inpainting with Fourier Convolutions (arxiv.org)
1 point by lnyan on Sep 17, 2021 | hide | past | pdf | discuss on HN

In plain words: To fill big gaps in photos, this system lets every layer see the whole image and scores results with a check that sees everything. Trained on large masks, it beats earlier inpainting tools on large gaps and handles bigger images than it saw in training.

Abstract · Resolution-robust Large Mask Inpainting with Fourier Convolutions

Modern image inpainting systems, despite the significant progress, often struggle with large missing areas, complex geometric structures, and high-resolution images. We find that one of the main reasons for that is the lack of an effective receptive field in both the inpainting network and the loss function. To alleviate this issue, we propose a new method called large mask inpainting (LaMa). LaMa is based on i) a new inpainting network architecture that uses fast Fourier convolutions (FFCs), which have the image-wide receptive field; ii) a high receptive field perceptual loss; iii) large training masks, which unlocks the potential of the first two components. Our inpainting network improves the state-of-the-art across a range of datasets and achieves excellent performance even in challenging scenarios, e.g. completion of periodic structures. Our model generalizes surprisingly well to resolutions that are higher than those seen at train time, and achieves this at lower parameter&time costs than the competitive baselines. The code is available at \url{https://github.com/saic-mdal/lama}.

Roman Suvorov, Elizaveta Logacheva, Anton Mashikhin, Anastasia Remizova, Arsenii Ashukha, Aleksei Silvestrov, Naejin Kong, Harshith Goka, Kiwoong Park, Victor Lempitsky
arXiv:2109.07161 · cs.CV, eess.IV · submitted Sep 15, 2021 · updated Nov 11, 2021
abstract · pdf · html · Winter Conference on Applications of Computer Vision (WACV 2022)

add comment on HN