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

ThunderNet:面向实时的通用目标检测

ThunderNet: Towards Real-time Generic Object Detection

National University of Defense Technology(国防科技大学);Megvii Inc. (Face++)(旷视科技(Face++))

Zheng Qin, Zeming Li, Zhaoning Zhang, Yiping Bao, Gang Yu, Yuxing Peng, Jian Sun

摘要:

移动平台上的实时的【形】通用目标检测是计算机视觉的一项重要而又具有挑战性的任务。然而,以前的基于CNN的检测器遭受巨大的计算成本,这阻碍了它们在计算受限的场景中的实时的【形】推理。本文研究了两阶段检测器在实时的【形】类属检测中的有效性,提出了一种轻量级的两阶段检测器ThunderNet。在骨干网部分,我们分析了现有轻量级骨干网的不足,提出了一种面向目标检测的轻量级骨干网。在检测部分,我们采用了非常有效的RPN和检测头设计。为了生成更有区别的特征表示,我们设计了两个有效的架构模块,上下文增强模块和空间注意模块。最后,我们研究了输入分辨率,骨干,和检测头之间的平衡。与轻量级的一级检测器相比,ThunderNet在PASCAL VOC和COCO基准测试中仅以40%的计算成本实现了卓越的性能。没有铃声和口哨声,我们的模型在基于ARM的设备上以24.1 fps运行。据我们所知,这是第一个在ARM平台上报告实时的【形】检测器。我们的代码和型号可在\url{https://github.com/qinzheng93/ThunderNet}上找到。

英文摘要:

Real-time generic object detection on mobile platforms is a crucial but challenging computer vision task. However, previous CNN-based detectors suffer from enormous computational cost, which hinders them from real-time inference in computation-constrained scenarios. In this paper, we investigate the effectiveness of two-stage detectors in real-time generic detection and propose a lightweight two-stage detector named ThunderNet. In the backbone part, we analyze the drawbacks in previous lightweight backbones and present a lightweight backbone designed for object detection. In the detection part, we exploit an extremely efficient RPN and detection head design. To generate more discriminative feature representation, we design two efficient architecture blocks, Context Enhancement Module and Spatial Attention Module. At last, we investigate the balance between the input resolution, the backbone, and the detection head. Compared with lightweight one-stage detectors, ThunderNet achieves superior performance with only 40% of the computational cost on PASCAL VOC and COCO benchmarks. Without bells and whistles, our model runs at 24.1 fps on an ARM-based device. To the best of our knowledge, this is the first real-time detector reported on ARM platforms. Our code and models are available at \url{https://github.com/qinzheng93/ThunderNet}.

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

↑