@article{6d6895ed-6a07-4e50-8a08-4e06979374d6, author = {MichaƂ Sadowski, Aleksandra Grzegorczyk}, title = {Image Inpainting with Gradient Attention}, journal = {Schedae Informaticae}, volume = {2018}, number = {Volume 27}, year = {2018}, issn = {1732-3916}, pages = {81-91},keywords = {}, abstract = {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.}, doi = {10.4467/20838476SI.18.007.10412}, url = {https://ejournals.eu/en/journal/schedae-informaticae/article/image-inpainting-with-gradient-attention} }