Lightweight Method for Crop Leaf Disease Detection Model Based on YOLO v5s

被引:0
|
作者
Yang J. [1 ]
Zuo H. [1 ]
Huang Q. [2 ]
Sun Q. [2 ]
Li S. [3 ]
Li L. [1 ]
机构
[1] Key Laboratory of Agricultural Information Acquisition Technology, Ministry of Agriculture and Rural Affairs, China Agricultural University, Beijing
[2] Key Laboratory of Smart Agriculture System Integration, Ministry of Education, China Agricultural University, Beijing
[3] College of Water Resources and Civil Engineering, China Agricultural University, Beijing
关键词
disease detection; knowledge distillation; lightweight model; network pruning; YOLO v5s;
D O I
10.6041/j.issn.1000-1298.2023.S1.023
中图分类号
学科分类号
摘要
In order to effectively lightweight the leaf disease detection model under the premise of ensuring the recognition performance, a model lightweight method was constructed based on trunk replacement, model pruning and knowledge distillation technology, and a lightweight test was carried out on the leaf yellow leaf curl disease detection model based on YOLO v5s. Firstly, the main body of the model was reduced by replacing the YOLO v5s trunk with the common lightweight convolutional neural networks ( LCNN ) with excellent performance. Then, the unimportant channels were screened and deleted by using the sparse training of the model and the distribution of the scaling factors in the batch normalization layer. Finally, by fine-tuning retraining and knowledge distillation, the model accuracy was adjusted to a level close to that before pruning. The experimental results showed that the accuracy, recall and mean average accuracy of the lightweight model were 91.3%, 87.4% and 92.7%, respectively. The memory consumption of the model was 1.4 MB, and the detection frame rate of the desktop was 81.0 f/s. The detection frame rate of the mobile terminal was 1. 2 f/s. Compared with the original YOLO v5s leaf disease detection model, the accuracy, recall and average accuracy were reduced by 3.7 percentage points, 4.6 percentage points and 2.7 percentage points, and the memory consumption was only 10% of that before processing. The frame rate of the desktop and mobile terminal detection was increased by nearly 27% and 33%, respectively. The proposed method can effectively reduce the weight of the model under the premise of keeping the performance, which provided a theoretical basis for the deployment of mobile leaf disease detection. © 2023 Chinese Society of Agricultural Machinery. All rights reserved.
引用
收藏
页码:222 / 229
页数:7
相关论文
共 32 条
  • [1] ZHANG Lingxian, HAN Mengyao, DING Junqi, Et al., Research progress in intelligent diagnosis and prescription recommendation of crop diseases [J], Transactions of the Chinese Society for Agricultural Machinery, 54, 6, pp. 1-18, (2023)
  • [2] SONG Ling, CAO Mian, HU Xiaochun, Et al., Detection of cassava leaf diseases under complicated background based on YOLOX [J], Transactions of the Chinese Society for Agricultural Machinery, 54, 3, pp. 301-307, (2023)
  • [3] XU Y, CHEN Q, KONG S, Et al., Real-time object detection method of melon leaf diseases under complex background in greenhouse, Journal of Real-Time Image Process, 19, 5, pp. 985-995, (2022)
  • [4] SHOAIB M, SHAH B, EI-SAPPAGH S, Et al., An advanced deep learning models-based plant disease detection: a review of recent research, Frontiers in Plant Science, 14, (2023)
  • [5] SHAO Mingyue, ZHANG Jianhua, FENG Quan, Et al., Research progress of deep learning in detection and recognition of plant leaf diseases [J], Smart Agriculture, 4, 1, pp. 29-46, (2022)
  • [6] LIU X, MIN W, MEI S, Et al., Plant disease recognition
  • [7] a large-scale benchmark dataset and a visual region and loss reweighting approach [J], IEEE Transactions on Image Processing
  • [8] a Publication of the IEEE Signal Processing Society, 30, pp. 2003-2015, (2021)
  • [9] SINGH D, JAIN N, JAIN P, Et al., PlantDoc
  • [10] a dataset for visual plant disease detection [C], Proceedings of the 7 th ACM IKDD CoDS and 25th COMAD, pp. 249-253, (2020)