Two-Stage Generator Network for High-Quality Image Inpainting in Future Internet

Peng Zhao,Dan Zhang,Shengling Geng,Mingquan Zhou
DOI: https://doi.org/10.3390/electronics12061490
IF: 2.9
2023-01-01
Electronics
Abstract:Sharpness is an important factor for image inpainting in future Internet, but the massive model parameters involved may produce insufficient edge consistency and reduce image quality. In this paper, we propose a two-stage transformer-based high-resolution image inpainting method to address this issue. This model consists of a coarse and a fine generator network. A self-attention mechanism is introduced to guide the transformation of higher-order semantics across the network layers, accelerate the forward propagation and reduce the computational cost. An adaptive multi-head attention mechanism is applied to the fine network to control the input of the features in order to reduce the redundant computations during training. The pyramid and perception are fused as the loss function of the generator network to improve the efficiency of the model. The comparison with Pennet, GapNet and Partial show the significance of the proposed method in reducing parameter scale and improving the resolution and texture details of the inpainted image.
What problem does this paper attempt to address?