Image Inpainting is a task that aims to fill in missing regions of corrupted images with plausible contents. Recent inpainting methods have introduced perceptual and style losses as auxiliary losses to guide the learning of inpainting generators. Perceptual and style losses help improve the perceptual quality of inpainted results by supervising deep features of generated regions. However, two challenges have emerged with the usage of auxiliary losses: (i) the time-consuming grid search is required to decide weights for perceptual and style losses to properly perform, and (ii) loss terms with different auxiliary abilities are equally weighted by perceptual and style losses. To meet these two challenges, we propose a novel framework that independently weights auxiliary loss terms and adaptively adjusts their weights within a single training process, without a time-consuming grid search. Specifically, to release the auxiliary potential of perceptual and style losses, we propose two auxiliary losses, Tunable Perceptual Loss (TPL) and Tunable Style Loss (TSL) by using different tunable weights to consider the contributions of different loss terms. TPL and TSL are supersets of perceptual and style losses and release the auxiliary potential of standard perceptual and style losses. We further propose the Auxiliary Weights Adaptation (AWA) algorithm, which efficiently reweights TPL and TSL in a single training process. AWA is based on the principle that the best auxiliary weights would lead to the most improvement in inpainting performance. We conduct experiments on publically available datasets and find that our framework helps current SOTA methods achieve better results.
翻译:图像油漆是一项任务,旨在填补缺失的失传区域中损坏的图像,其内容合理。最近的油漆方法引入了感知和风格损失作为辅助损失作为辅助损失作为辅助损失,以指导修饰发电机的学习。感知和风格损失通过监督生成区域的深度特征帮助提高涂抹结果的感知质量。然而,由于使用辅助损失,出现了两个挑战:(一) 需要花费时间的电网搜索来决定感知和风格损失的权重,以便正确执行,以及(二) 不同辅助能力的损失条件由感知和风格损失同等加权。为了应对这两项挑战,我们提出了一个新的框架,独立加权辅助损失条件,并在单一培训过程中适应性调整其重量,而不进行耗时的电网搜索。具体地说,为了释放感知和风格损失的附带潜力,我们建议两种辅助损失,即金枪鱼可感知性损失(TPL)和可调味风格损失(TTSL),通过不同的金枪鱼重量来考虑不同损失条件和风格损失的推算。为了应对这两项损失的最佳程度,TPL和TSL,我们提议一个独立重量的自导性损失,我们在标准中,我们的标准中,我们为SLA中,我们的标准和SLALALA的排序的排序和SLA。我们的标准,这是一个更高的损失的排序和SLA。我们在SLA中,在SLA中,我们的标准,我们的标准,在SLA中可以进一步的升级和SAL的排序和SAL在SAL的排序和SAL的排序和SU。