Research on compression method of yolov5 model based on channel pruning

Bi Yuxuan, Yang Rui, Xiaoman Zhang, Li Yujia, Gu Yuehan
{"title":"Research on compression method of yolov5 model based on channel pruning","authors":"Bi Yuxuan, Yang Rui, Xiaoman Zhang, Li Yujia, Gu Yuehan","doi":"10.1109/CISS57580.2022.9971442","DOIUrl":null,"url":null,"abstract":"With the development of high-resolution and wide -format SAR satellites, on-board real-time processing of massive data has become a major development trend. However, due to the limitation of on-board resources, on-board real-time processing is faced with insufficient storage space, insufficient operating memory, and a large amount of computation. In order to solve this problem, this paper conducts channel pruning for the large target detection model yolov5 to achieve model compression, uses the bn layer as the basis for pruning, and adaptively determines the pruning ratio of each layer on the basis of analyzing the pruning sensitivity. We experimentally determine the best retraining strategy. In the end, this paper obtained the yolov5 lightweight network model with 5 configurations, the parameter reduction range is 74%-93%, the computation volume reduction range is 49.4%-89.6%, and the Map floats -3.6%-0.6% compared with before pruning. It is proved that the pruning scheme proposed in this paper has both large compression ratio, high precision and flexibility, and has important reference significance for the real-time target detection task on board.","PeriodicalId":331510,"journal":{"name":"2022 3rd China International SAR Symposium (CISS)","volume":"40 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd China International SAR Symposium (CISS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CISS57580.2022.9971442","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

With the development of high-resolution and wide -format SAR satellites, on-board real-time processing of massive data has become a major development trend. However, due to the limitation of on-board resources, on-board real-time processing is faced with insufficient storage space, insufficient operating memory, and a large amount of computation. In order to solve this problem, this paper conducts channel pruning for the large target detection model yolov5 to achieve model compression, uses the bn layer as the basis for pruning, and adaptively determines the pruning ratio of each layer on the basis of analyzing the pruning sensitivity. We experimentally determine the best retraining strategy. In the end, this paper obtained the yolov5 lightweight network model with 5 configurations, the parameter reduction range is 74%-93%, the computation volume reduction range is 49.4%-89.6%, and the Map floats -3.6%-0.6% compared with before pruning. It is proved that the pruning scheme proposed in this paper has both large compression ratio, high precision and flexibility, and has important reference significance for the real-time target detection task on board.
基于信道剪枝的yolov5模型压缩方法研究
随着高分辨率宽幅SAR卫星的发展,海量数据的星上实时处理已成为主要发展趋势。然而,由于星载资源的限制,星载实时处理面临着存储空间不足、操作内存不足、计算量大等问题。为了解决这一问题,本文对大目标检测模型yolov5进行通道剪枝,实现模型压缩,以bn层为剪枝基础,在分析剪枝灵敏度的基础上自适应确定各层的剪枝比例。我们通过实验确定了最佳的再训练策略。最后,本文得到了5种配置的yolov5轻量级网络模型,与修剪前相比,参数减少范围为74%-93%,计算量减少范围为49.4%-89.6%,Map浮动-3.6%-0.6%。实践证明,本文提出的剪枝方案具有压缩比大、精度高、灵活性强的特点,对舰载实时目标检测任务具有重要的参考意义。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信