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.