arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03112cs.CV
收藏

重新思考目标检测的从头训练

Rethinking Training from Scratch for Object Detection

Zhejiang University(浙江大学)

Yang Li, Hong Zhang, Yu Zhang

摘要:

ImageNet预训练初始化是目标检测的事实标准。He等人发现,可以从头开始训练检测器(随机初始化),同时需要使用适当的归一化技术进行更长的训练计划。在本文中,我们探索直接预训练目标数据集的目标检测。在这种情况下,我们发现广泛采用的大规模调整策略,例如将图像调整为(1333,800)对于微调很重要,但对于预训练来说并不必要。具体来说,我们提出了一种新的目标检测训练管道,它遵循“预训练和微调”,利用目标数据集中的低分辨率图像对检测器进行预训练,然后将其加载到高分辨率图像中进行微调。有了这个策略,我们可以在预训练期间使用具有大浴大小的批量归一化(BN),它也是内存有效的,我们可以在GPU内存非常有限(11 G)的机器上应用它。我们称之为直接检测预训练,也简称为直接预训练。实验结果表明,与ImageNet预训练相比,直接预训练在COCO数据集上将预训练阶段加速了11倍以上,甚至+1.8mAP。此外,我们发现直接预训练也适用于基于Transformer的主干,例如Swin Transformer。代码将可用。

英文摘要:

The ImageNet pre-training initialization is the de-facto standard for object detection. He et al. found it is possible to train detector from scratch(random initialization) while needing a longer training schedule with proper normalization technique. In this paper, we explore to directly pre-training on target dataset for object detection. Under this situation, we discover that the widely adopted large resizing strategy e.g. resize image to (1333, 800) is important for fine-tuning but it's not necessary for pre-training. Specifically, we propose a new training pipeline for object detection that follows `pre-training and fine-tuning', utilizing low resolution images within target dataset to pre-training detector then load it to fine-tuning with high resolution images. With this strategy, we can use batch normalization(BN) with large bath size during pre-training, it's also memory efficient that we can apply it on machine with very limited GPU memory(11G). We call it direct detection pre-training, and also use direct pre-training for short. Experiment results show that direct pre-training accelerates the pre-training phase by more than 11x on COCO dataset while with even +1.8mAP compared to ImageNet pre-training. Besides, we found direct pre-training is also applicable to transformer based backbones e.g. Swin Transformer. Code will be available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑