摘要
阐述基于改进YOLOv7的火灾检测算法。首先通过将YOLOv7的主干网络替换为轻量级网络MobileOne,把一个k×k的卷积层等价转换为多个分支,使得网络在训练时参数更多、学习能力更强,从而在推理阶段具有更高的计算速度。接着在池化层引入SPPFCSPC,在特征提取时获得不同的感受野,有效地解决目标差异较大的问题,同时该结构相比于原SPPCSPC计算量减少一半,节约计算成本。最后利用模型剪枝等压缩方法对其做轻量化处理,让模型推理速度进一步提升。
This paper describes an improved fire detection algorithm based on YOLOv7.Firstly,the backbone network of YOLOv7 was replaced through the lightweight network MobileOne,which converts a k×k convolution layer into multiple branches equivalent to each other,which makes the network more complex in training,more parameters,stronger learning ability,but higher computing speed in the reasoning stage.Secondly,SPPFCSPC was introduced in the pooling layer to obtain different receptive fields during feature extraction,which effectively solves the situation of large difference in objectives.Meanwhile,compared with the original SPPCSPC,the calculation amount of this structure was reduced by half and the calculation cost was saved.Finally,model pruning and other model compression methods were used to carry out lightweight processing to further improve the reasoning speed of the model.
作者
孙思怡
汪威
罗子江
SUN Siyi;WANG Wei;LUO Zijiang(Guiyang College of Humanities and Technology,Guizhou 550025,China;Guizhou University of Finance and Economics,Guizhou 550025,China)
出处
《电子技术(上海)》
2024年第5期50-52,共3页
Electronic Technology
关键词
智能算法
YOLOv7
火灾检测
重参数
轻量化
intelligent algorithm
YOLOv7
fire detection
reparameterization
lightweight