TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Resolution-robust Large Mask Inpainting with Fourier Convo...

Resolution-robust Large Mask Inpainting with Fourier Convolutions

Roman Suvorov, Elizaveta Logacheva, Anton Mashikhin, Anastasia Remizova, Arsenii Ashukha, Aleksei Silvestrov, Naejin Kong, Harshith Goka, Kiwoong Park, Victor Lempitsky

2021-09-15Seeing Beyond the VisibleImage Inpainting
PaperPDFCode(official)CodeCodeCodeCodeCodeCodeCode

Abstract

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}.

Results

TaskDatasetMetricValueModel
Image GenerationPlaces2FID2.97LAMA
Image GenerationPlaces2P-IDS13.09LAMA
Image GenerationPlaces2U-IDS32.29LAMA
Image GenerationCelebA-HQFID8.15LaMa
Image GenerationCelebA-HQP-IDS2.07LaMa
Image GenerationCelebA-HQU-IDS7.58LaMa
Image InpaintingPlaces2FID2.97LAMA
Image InpaintingPlaces2P-IDS13.09LAMA
Image InpaintingPlaces2U-IDS32.29LAMA
Image InpaintingCelebA-HQFID8.15LaMa
Image InpaintingCelebA-HQP-IDS2.07LaMa
Image InpaintingCelebA-HQU-IDS7.58LaMa
Seeing Beyond the VisibleKITTI360-EXAverage PSNR18.98LaMa

Related Papers

RePaintGS: Reference-Guided Gaussian Splatting for Realistic and View-Consistent 3D Scene Inpainting2025-07-11MTADiffusion: Mask Text Alignment Diffusion Model for Object Inpainting2025-06-303DeepRep: 3D Deep Low-rank Tensor Representation for Hyperspectral Image Inpainting2025-06-20Geological Field Restoration through the Lens of Image Inpainting2025-06-05DreamDance: Animating Character Art via Inpainting Stable Gaussian Worlds2025-05-30Structure Disruption: Subverting Malicious Diffusion-Based Inpainting via Self-Attention Query Perturbation2025-05-26Unsupervised Raindrop Removal from a Single Image using Conditional Diffusion Models2025-05-13CaRaFFusion: Improving 2D Semantic Segmentation with Camera-Radar Point Cloud Fusion and Zero-Shot Image Inpainting2025-05-06