首页|基于改进YOLOv5的轻量化车辆行人雾天检测模型

基于改进YOLOv5的轻量化车辆行人雾天检测模型

扫码查看
车辆行人检测是智能交通的重要组成部分.针对现有车辆检测算法模型容量大、参数量较多、占用内存大,难以在智能交通场景中适用于算力和内存均有限的边缘设备的问题,提出了一种基于YOLOv5s算法改进的轻量级目标检测网络.首先,将YOLOv5s网络的卷积模块更换成Ghost卷积,以此减少计算量和参数量;其次,采用改进的加权双向特征金塔网络(BiFPN)结构和非极大值抑制(NMS)算法提高模型的精确度;最后,通过Real-world Task-Driven Testing Set(RTTS)雾天数据集对该方法进行模型训练及验证,以测试模型的有效性.实验结果表明,改进YOLOv5的轻量化雾天检测模型在分辨率为640×640的图像上平均检测精度达88.5%,模型大小约为7.5 M,浮点型计算量为8.20 GFLOPs.与原YOLOv5s网络相比,模型大小减少了46.4%,浮点型计算量压缩到原来的52%,精确度提高0.9%,回归率提高0.5%,平均精度提升1.1%.改进后的车辆检测算法在模型轻量化的同时不仅能够保证较高的检测精度,而且能够满足在算力资源有限的边缘设备进行车辆检测的需求.
Lightweight Vehicle and Pedestrian Fog Detection Model Based on Improved YOLOv5
Vehicle and pedestrian detection is an important part of intelligent transportation.Aiming at the problem that the existing vehicle detection algorithm model has large capacity,large number of parameters,and large memory occupation,which is difficult to be applied to edge devices with limited computing power and memory in intelligent transportation scenarios,thus an improved lightweight object detection network based on YOLOv5s algorithm has been proposed.Firstly,the convolution module of YOLOv5s network is replaced with Ghost convolution to reduce the amount of computation and parameters.Secondly,the improved weighted bidirectional Feature Pyramid Network(BiFPN)structure and non-maximum suppression(NMS)is adopted to improve the accuracy of the model.Lastly,the model is trained and verified via Real-world Task-Driven Testing Set(RTTS)foggy data set to test the effectiveness of the model.The experimental results show that the lightweight fog detection model of the improved YOLOv5 has an average detection accuracy of 88.5%on the image with a resolution of 640×640,whose size is about 7.5 M,and the floating-point calculation amount is 8.20 GFLOPs.Compared with the original YOLOv5s network,the size of the improved model is reduced by 46.4%,the floating-point computation is compressed to 52%,the accuracy is improved by 0.9%,the regression rate is increased by 0.5%,and the average accuracy is improved by 1.1%.The improved vehicle detection algorithm not only ensures high detection accuracy while being lightweight in the model,but also meets the needs of vehicle detection in edge devices with limited computing resources.

target detectionlightweightYOLOv5sGhost convolution

肖顺兴、朱文忠、谢康康、谢林森、何海东

展开 >

四川轻化工大学计算机科学与工程学院,四川 宜宾 644000

目标检测 轻量级 YOLOv5s Ghost卷积

四川省科技研发重点项目四川省科技创新(苗子工程)培育项目企业信息化与物联网测控技术四川省高校重点实验室基金项目

2023YFS037120220492022WYY03

2024

四川轻化工大学学报(自然科学版)
四川理工学院

四川轻化工大学学报(自然科学版)

影响因子:0.44
ISSN:2096-7543
年,卷(期):2024.37(3)