TY - JOUR TI - Image Inpainting with Gradient Attention AU - Sadowski, MichaƂ AU - Grzegorczyk, Aleksandra TI - Image Inpainting with Gradient Attention AB - We present a novel modification of context encoder loss function, which results in more accurate and plausible inpainting. For this purpose, we introduce gradient attention loss component of loss function, to suppress the common problem of inconsistency in shapes and edges between the inpainted region and its context. To this end, the mean absolute error is computed not only for the input and output images, but also for their derivatives. Therefore, model concentrates on areas with larger gradient, which are crucial for accurate reconstruction. The positive effects on inpainting results are observed both for fully-connected and fully-convolutional models tested on MNIST and CelebA datasets. VL - 2018 IS - Volume 27 PY - 2018 SN - 1732-3916 C1 - 2083-8476 SP - 81 EP - 91 DO - 10.4467/20838476SI.18.007.10412 UR - https://ejournals.eu/en/journal/schedae-informaticae/article/image-inpainting-with-gradient-attention