As the computing power of modern hardware is increasing strongly, pre-trained deep learning models (e.g., BERT, GPT-3) learned on large-scale datasets have shown their effectiveness over conventional methods. The big progress is mainly contributed to the representation ability of transformer and its variant architectures. In this paper, we study the low-level computer vision task (e.g., denoising, super-resolution and deraining) and develop a new pre-trained model, namely, image processing transformer (IPT). To maximally excavate the capability of transformer, we present to utilize the well-known ImageNet benchmark for generating a large amount of corrupted image pairs. The IPT model is trained on these images with multi-heads and multi-tails. In addition, the contrastive learning is introduced for well adapting to different image processing tasks. The pre-trained model can therefore efficiently employed on desired task after fine-tuning. With only one pre-trained model, IPT outperforms the current state-of-the-art methods on various low-level benchmarks. Code is available at https://github.com/huawei-noah/Pretrained-IPT and https://gitee.com/mindspore/mindspore/tree/master/model_zoo/research/cv/IPT
翻译:由于现代硬件的计算能力正在大大增强,在大型数据集方面受过预先训练的深层次学习模式(如BERT、GPT-3)已经表明其相对于常规方法的效用,大的进展主要有助于变压器及其变异结构的代表性能力。在本文中,我们研究低层次的计算机视觉任务(如脱色、超分辨率和脱线),并开发新的经过训练的模型,即图像处理变压器(IPT)。为了最大限度地挖掘变压器的能力,我们提出利用众所周知的图像网基准来产生大量腐蚀图像配对。IPT模型是用多头和多尾图像来进行这些图像培训的。此外,还引入了对比学习,以便很好地适应不同的图像处理任务。因此,经过精细调整的模型可以有效地用于所要完成的任务。只有一种经过训练的模型,IPT/PT在各种低层次基准上超越了目前的状态/工艺方法。代码可在 https://poros/ train_Igreat/streat/ https/retores/retoriment/reament/reament/reg-rah/s/s/travial_hub.comms/comm/reat/reabs)。