首页 | 本学科首页   官方微博 | 高级检索  
     

基于注意力机制的NMS在目标检测中的研究
引用本文:张长伦,张翠文,王恒友,何强,刘屹伟. 基于注意力机制的NMS在目标检测中的研究[J]. 电子测量技术, 2021, 44(19): 82-88
作者姓名:张长伦  张翠文  王恒友  何强  刘屹伟
作者单位:北京建筑大学,理学院,北京,100044
基金项目:国家自然科学基金(No. 62072024)、北京建筑大学北京未来城市设计高精尖创新中心资助项目(UDC2017033322,UDC2019033324)、北京建筑大学市属高校基本科研业务费专项资金资助(NO. X20084)资助
摘    要:非最大值抑制算法是目标检测中选择定位准确框的主要算法。针对算法仅以分类得分作为标准可能去除得分低但定位准确的预测框,并且对于有遮挡的情况更不友好的情况。提出了A-NMS方法,该方法将注意力机制融入非极大值抑制算法中,利用位置信息与框的得分信息相结合来调整框的最后得分。此外,还提出了改进的基于距离的交并比损失函数,重新定义了损失项,并将其引入到非极大值抑制中代替IOU来计算框间的交并比。最后将两种改进算法融合到三种经典的目标检测中,在Pascal-VOC 2012和MS-COCO 2017数据集上对上述两种算法进行了验证,结果表明检测精度得到了1%~2%的提升。

关 键 词:非最大抑制,目标检测,注意力机制

Research on Non-Maximum Suppression Based on Attention Mechanism in Object Detection
Zhang Changlun,Zhang Cuiwen,Wang Hengyou,He Qiang,Liu Xiwei. Research on Non-Maximum Suppression Based on Attention Mechanism in Object Detection[J]. Electronic Measurement Technology, 2021, 44(19): 82-88
Authors:Zhang Changlun  Zhang Cuiwen  Wang Hengyou  He Qiang  Liu Xiwei
Affiliation:Science School,Beijing University of Civil Engineering and Architecture, Beijing, 100044, China
Abstract:Non maximum suppression algorithm(NMS) is the main algorithm to select the accurate positioning box in object detection. The algorithm only takes the classification score as the standard, which may remove the prediction frame with low score but accurate positioning, and is more unfriendly to the situation with occlusion. A-NMS method is proposed, which integrates the attention mechanism into the non maximum suppression algorithm, and adjusts the final score of the box by combining the position information with the score information of the box. In addition, an improved distance based intersection union ratio loss function is proposed, the loss term is redefined, and it is introduced into non maximum suppression to calculate the intersection union ratio between frames instead of IOU. Finally, the two improved algorithms are integrated into three classical target detection. The above two algorithms are verified on Pascal VOC 2012 and MS-COCO 2017 data sets. The results show that the detection accuracy has been improved by 1% ~ 2%.
Keywords:Non maximum suppression   object detection   attention mechanism
点击此处可从《电子测量技术》浏览原始摘要信息
点击此处可从《电子测量技术》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号