Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Don't Look into the Dark: Latent Codes for Pluralistic Image Inpainting

About

We present a method for large-mask pluralistic image inpainting based on the generative framework of discrete latent codes. Our method learns latent priors, discretized as tokens, by only performing computations at the visible locations of the image. This is realized by a restrictive partial encoder that predicts the token label for each visible block, a bidirectional transformer that infers the missing labels by only looking at these tokens, and a dedicated synthesis network that couples the tokens with the partial image priors to generate coherent and pluralistic complete image even under extreme mask settings. Experiments on public benchmarks validate our design choices as the proposed method outperforms strong baselines in both visual quality and diversity metrics.

Haiwei Chen, Yajie Zhao• 2024

Related benchmarks

TaskDatasetResultRank
Image InpaintingPlaces2 (test)
FID23.14
72
Image InpaintingFFHQ 256x256
LPIPS0.278
21
Portrait InpaintingCelebA-HQ 512
FID7.62
18
Natural scene image inpaintingPlaces2 Large
FID5.08
14
Natural scene image inpaintingPlaces2 (Small)
FID1.59
14
Natural scene image inpaintingPlaces2 256
FID30.72
13
Image InpaintingLVIS OOD Natural 11 (10k images)
FID31.94
7
Image InpaintingDeepFakeFace OOD Portrait wiki 39
FID43.07
6
Image InpaintingPlaces 256 x 256 (Standard)
FID (Small Mask)1.02
5
Image InpaintingCelebA 256 x 256 HQ (test)
FID (Small Mask)2.7
5
Showing 10 of 10 rows

Other info

Follow for update