首页|融合通道剪枝与YOLOv5s的料箱标签检测算法

融合通道剪枝与YOLOv5s的料箱标签检测算法

扫码查看
为高效提取标签关键信息,设计一种旨在低浮点运算和低参数量条件下精准检测标签的方法.将YOLOv5s作为基线模型,为获得更加丰富的梯度流信息,提出具有多尺度信息的自适应融合R2C2f-ECA模块.使用重参数卷积进行特征融合并通过LeakyReLU对神经元激活,避免出现死亡神经元情况的同时,更好地建模输入数据的复杂特征,增强模型的表示能力.针对回归目标不匹配的问题,使用基于动态非单调聚焦机制的边界框损失函数WloULoss,提高模型的回归性能.实验表明:改进后的模型在物料箱标签数据集上mAP_0.5 与mAP_0.5:0.95 两项指标分别提高 1.9%和 2.1%,达到 99.1%和 94%.融合LAMP通道剪枝与Feature-Based Knowledge蒸馏后的模型大小为 4.37 M,仅为原始模型的 32%,两项mAP指标较原始模型分别提高 1.4%和 2.1%,FPS提升 43%.
Fusing Channel Pruning and YOLOv5s's Bin Label Detection Algorithm
ln order to efficiently extract the key information of labels,a method for accurately detecting labels under the condition of low floating point operation and low parameter number is designed.Taking YOLOv5s as the baseline model,in order to obtain more abundant gradient flow information,an adaptive fusion R2C2f-ECA module with multi-scale information is proposed.Using heavy parameter convolution for feature fusion and neuron activation by LeakyReLU,the complex fea-tures of input data can be better modeled and the representation ability of the model can be enhanced while the dead neurons are avoided.To solve the problem of regression target mismatch,WloULoss,a boundary frame loss function based on dynamic non-monotonic focusing mechanism,is used to improve the regression performance of the model.The experi-ment shows that the improved model can improve the data set of material bin label mAP_0.5 and MAP_5:0.95 by 1.9%and 2.1%respectively,reaching 99.1%and 94%.

labelYOLOv5 modelobject detectionchannel pruning

宣岁寒、罗印升、宋伟、徐岗

展开 >

江苏理工学院机械工程学院,江苏 常州 213001

江苏理工学院电气信息工程学院,江苏 常州 213001

标签 YOLOv5模型 目标检测 通道剪枝

2024

工业控制计算机
中国计算机学会工业控制计算机专业委员会 江苏省计算技术研究所有限责任公司

工业控制计算机

影响因子:0.258
ISSN:1001-182X
年,卷(期):2024.37(10)