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 perceptual and style 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 Adaptive Auxiliary Loss (AAL) algorithm, which efficiently reweights TPL and TSL in a single training process. AAL 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),通过使用不同的金枪鱼重量来考虑不同损失的感知和风格损失因素。TPLA和SL在SAL标准中,Slimal Stal Styal Stal Slievyal Slieval Slieval Sal Slieval dal dal dal dal dreal dreal dreal dal dal dal lax lax lections lax a left lax lax lex lex le le le lex le le lex lex le le le le lections level level level lection lections lections le le le lex lections a level lections le le levels le sal le le sal le le le le le le le le le le le le lections le sal le le le le le le le le le le sal le le le le le le le le le le le lemental sal le sal le le lemental le le le le