Image Inpainting with Semantic-Aware Transformer
Shiyu Chen, Wenxin Yu, Qi Wang, Jun Gong, Peng Chen
Abstract
Image inpainting has made huge strides benefiting from the advantages of convolutional neural networks (CNNs) in understanding high-level semantics. Recently, some studies have applied transformers to the visual field to solve the problem that the convolution kernel cannot attend to longdistance information. However, unlike other vision tasks, there is much interference from damaged information in image inpainting tasks. We propose a new Semantic-Aware Transformer, which in addition to including a self-attention block like previous vision transformers, also has a block for learning semantics from QSVM. Specifically, to provide more valid information, we design a Quantized Semantic Vector Memory (QSVM) that encodes and saves semantic features in images as quantized vectors in latent space. Experiments on different datasets demonstrate the effectiveness and superiority of our method compared with the existing state-of-the-art.
BibTeX
@inproceedings{icassp2023_imageinpaintingw,
title = {Image Inpainting with Semantic-Aware Transformer},
author = {Shiyu Chen and Wenxin Yu and Qi Wang and Jun Gong and Peng Chen},
booktitle = {ICASSP 2023},
year = {2023}
}