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

实时目标检测模型的复现研究与基准测试

Replication Study and Benchmarking of Real-Time Object Detection Models

Département de physique, de génie physique et d’optique, Université Laval(物理、物理工程与光学系,拉瓦尔大学);Département de génie électrique et de génie informatique, Université Laval(电气工程与计算机工程系,拉瓦尔大学);Département d’informatique et de génie logiciel, Université Laval(计算机科学与软件工程系,拉瓦尔大学)

Pierre-Luc Asselin, Vincent Coulombe, William Guimont-Martin, William Larrivée-Hardy

AI总结:

本研究针对实时目标检测模型开展复现与基准测试,提出统一训练评估流程,发现部分模型复现效果有差异,无锚点模型在精度速度权衡中表现更优,相关代码已开源。

摘要:

本工作考察了前沿实时目标检测模型的可复现性与基准测试表现。由于目标检测模型常应用于机器人等推理速度至关重要的现实场景,仅衡量模型精度不足以对其进行比较。因此,我们在多款显卡上对比了大量目标检测模型的精度与推理速度。除大规模基准测试外,我们还基于PyTorch在MS COCO 2017数据集上从零复现了以下模型:DETR、RTMDet、ViTDet与YOLOv7。更重要的是,我们基于MMDetection的功能提出了一套统一的训练与评估流程,以更好地对比模型。我们实现的DETR与ViTDet未能达到原论文宣称的精度或速度性能;而复现的RTMDet与YOLOv7则能匹配该性能。研究还发现,相关论文普遍在可复现性方面存在不足。对于MMDetection预训练模型,在计算资源有限时速度性能会严重下降,规模更大、精度更高的模型受影响更甚。此外,结果显示精度与速度之间存在显著权衡,无锚点模型(尤其是RTMDet或YOLOx模型)在该权衡中表现更优。本论文及所有实验所用代码可在仓库https://github.com/willGuimont/segdet_mlcr2024获取。

英文摘要:

This work examines the reproducibility and benchmarking of state-of-the-art real-time object detection models. As object detection models are often used in real-world contexts, such as robotics, where inference time is paramount, simply measuring models' accuracy is not enough to compare them. We thus compare a large variety of object detection models' accuracy and inference speed on multiple graphics cards. In addition to this large benchmarking attempt, we also reproduce the following models from scratch using PyTorch on the MS COCO 2017 dataset: DETR, RTMDet, ViTDet and YOLOv7. More importantly, we propose a unified training and evaluation pipeline, based on MMDetection's features, to better compare models. Our implementation of DETR and ViTDet could not achieve accuracy or speed performances comparable to what is declared in the original papers. On the other hand, reproduced RTMDet and YOLOv7 could match such performances. Studied papers are also found to be generally lacking for reproducibility purposes. As for MMDetection pretrained models, speed performances are severely reduced with limited computing resources (larger, more accurate models even more so). Moreover, results exhibit a strong trade-off between accuracy and speed, prevailed by anchor-free models - notably RTMDet or YOLOx models. The code used is this paper and all the experiments is available in the repository at https://github.com/willGuimont/segdet_mlcr2024.

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

↑