School of Computer Science and Technology, Hefei Normal University, Hefei 230601, China.
Comput Intell Neurosci. 2022 Jul 31;2022:8396550. doi: 10.1155/2022/8396550. eCollection 2022.
The existing deep learning models have problems such as large weight parameters and slow inference speed of equipment. In practical applications such as fire detection, they often cannot be deployed on equipment with limited resources due to the huge amount of parameters and low efficiency. In response to this problem, this paper proposes a lightweight smoke detection model based on the convolutional attention mechanism module. The model is based on the YOLOv5 lightweight framework. The backbone network draws on the GhostNet design idea, replaces the CSP structure of the FPN and head layers with the GhostBottleNeck module, adds a convolutional attention mechanism module to the backbone network layer, and uses the CIoU loss function to improve the regression accuracy. Using YOLOv5s as the benchmark model, the parameter amount of the proposed lightweight neural network model is 2.75 M, and the floating-point calculation amount is 2.56 G, which is much lower than the parameter amount and calculation amount of the benchmark model. Tested on the public fire dataset, compared with the traditional deep learning algorithm, the model proposed in the paper has better detection performance and the detection speed is significantly better than the benchmark model. Tested under the unquantized simulator, the speed of the proposed model to detect a single picture is 60 ms, which can meet the requirements of real-time engineering applications.
现有的深度学习模型存在权重参数大、设备推理速度慢等问题。在火灾检测等实际应用中,由于参数量大、效率低,往往无法部署在资源有限的设备上。针对这一问题,本文提出了一种基于卷积注意力机制模块的轻量级烟雾检测模型。该模型基于 YOLOv5 轻量级框架,骨干网络借鉴 GhostNet 设计思想,用 GhostBottleNeck 模块替换 FPN 和头部的 CSP 结构,在骨干网络层添加卷积注意力机制模块,并使用 CIoU 损失函数提高回归精度。使用 YOLOv5s 作为基准模型,所提出的轻量级神经网络模型的参数量为 2.75M,浮点运算量为 2.56G,远低于基准模型的参数量和浮点运算量。在公共火灾数据集上进行测试,与传统深度学习算法相比,本文提出的模型具有更好的检测性能,检测速度明显优于基准模型。在未量化模拟器下进行测试,该模型检测单张图片的速度为 60ms,能够满足实时工程应用的要求。