Acta Agriculturae Zhejiangensis ›› 2023, Vol. 35 ›› Issue (6): 1462-1472.DOI: 10.3969/j.issn.1004-1524.2023.06.23

• Biosystems Engineering • Previous Articles     Next Articles

Plant disease identification based on pruning

ZHU Dongqin1(), FENG Quan1,*(), ZHANG Jianhua2   

  1. 1. School of Mechanical and Electrical Engineering, Gansu Agricultural University, Lanzhou 730070, China
    2. Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China
  • Received:2022-07-04 Online:2023-06-25 Published:2023-07-04

Abstract:

In order to automatically detect plant diseases in real time, disease identification model need to be deployed on edge/mobile devices. However, the deep convolutional neural networks with superior performance in the field of disease identification cannot be directly deployed due to the limitation of model size and computing resources. In order to solve this problem, a disease identification method based on pruning was proposed, which used the γ coefficient in the BN layer to perform channel pruning to achieve the compression of Vgg16, ResNet164 and DenseNet40 networks. Taking the PlantVillage dataset as the research object, the 3 networks were compressed. The experimental results showed that the average accuracy of the compressed Vgg16-80%、ResNet164-80% and DenseNet40-80% were 97.46%, 99.12% and 99.68%, respectively, and DenseNet40-80% had the highest accuracy and the least amount of parameters, only 0.27×106. Vgg16-80% had the most obvious compression effect, pruned 97.83% of the parameters and 96.77% of the computation. The computation of the pruned Vgg16-80% were the smallest, only 0.01×109. The accuracy of the pruned Vgg16-80% and DenseNet40-80% were higher than the original model. Therefore, this method could solve the problem of over-parameterization of large-scale neural networks, reduce computing costs, and provide ideas for the deployment of existing large-scale networks on small devices.

Key words: convolutional neural network, disease identification, pruning, model compression

CLC Number: