基于压缩YOLOv5s6的轻量级设备目标检测

Jingxian Cui, Weimin Zhou, Weijun Liu
{"title":"基于压缩YOLOv5s6的轻量级设备目标检测","authors":"Jingxian Cui, Weimin Zhou, Weijun Liu","doi":"10.1109/cvidliccea56201.2022.9825360","DOIUrl":null,"url":null,"abstract":"In recent years, with the development of deep learning and target detection, the accuracy of detection network is higher and higher, and the increase of network parameters and the decrease of inference speed. However, in actual application scenarios, the detection network needs to be deployed on some mobile or lightweight devices. To solve this problem, this paper proposes a method to compress the model. Based on YOLOv5s6 model, the channels with small weight are removed through sparse training and channel pruning, and then fix the model accuracy by knowledge distillation. Finally, the lightweight model Compressed YOLOv5s6 is obtained. The experimental result shows that the Compressed YOLOv5s6 model reduces 95.1% of the parameters, 30% of the inference speed and 90.2% of the model size compared with the original model, which is more suitable for the application of practical scenes.","PeriodicalId":23649,"journal":{"name":"Vision","volume":"17 1","pages":"274-277"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Target detection on lightweight device based on Compressed YOLOv5s6\",\"authors\":\"Jingxian Cui, Weimin Zhou, Weijun Liu\",\"doi\":\"10.1109/cvidliccea56201.2022.9825360\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In recent years, with the development of deep learning and target detection, the accuracy of detection network is higher and higher, and the increase of network parameters and the decrease of inference speed. However, in actual application scenarios, the detection network needs to be deployed on some mobile or lightweight devices. To solve this problem, this paper proposes a method to compress the model. Based on YOLOv5s6 model, the channels with small weight are removed through sparse training and channel pruning, and then fix the model accuracy by knowledge distillation. Finally, the lightweight model Compressed YOLOv5s6 is obtained. The experimental result shows that the Compressed YOLOv5s6 model reduces 95.1% of the parameters, 30% of the inference speed and 90.2% of the model size compared with the original model, which is more suitable for the application of practical scenes.\",\"PeriodicalId\":23649,\"journal\":{\"name\":\"Vision\",\"volume\":\"17 1\",\"pages\":\"274-277\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-05-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Vision\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/cvidliccea56201.2022.9825360\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Vision","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/cvidliccea56201.2022.9825360","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

近年来,随着深度学习和目标检测的发展,检测网络的准确率越来越高,而网络参数的增加和推理速度的降低。但在实际应用场景中,检测网络需要部署在一些移动设备或轻量级设备上。为了解决这一问题,本文提出了一种压缩模型的方法。基于YOLOv5s6模型,通过稀疏训练和通道剪枝去除权值较小的通道,再通过知识蒸馏固定模型精度。最后,得到了压缩YOLOv5s6轻量化模型。实验结果表明,压缩后的YOLOv5s6模型与原始模型相比,参数减少了95.1%,推理速度降低了30%,模型尺寸减小了90.2%,更适合实际场景的应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Target detection on lightweight device based on Compressed YOLOv5s6
In recent years, with the development of deep learning and target detection, the accuracy of detection network is higher and higher, and the increase of network parameters and the decrease of inference speed. However, in actual application scenarios, the detection network needs to be deployed on some mobile or lightweight devices. To solve this problem, this paper proposes a method to compress the model. Based on YOLOv5s6 model, the channels with small weight are removed through sparse training and channel pruning, and then fix the model accuracy by knowledge distillation. Finally, the lightweight model Compressed YOLOv5s6 is obtained. The experimental result shows that the Compressed YOLOv5s6 model reduces 95.1% of the parameters, 30% of the inference speed and 90.2% of the model size compared with the original model, which is more suitable for the application of practical scenes.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信