Applied Sciences (Apr 2023)

LBFNet: A Tomato Leaf Disease Identification Model Based on Three-Channel Attention Mechanism and Quantitative Pruning

  • Hailin Chen,
  • Yi Wang,
  • Ping Jiang,
  • Ruofan Zhang,
  • Jialiang Peng

DOI
https://doi.org/10.3390/app13095589
Journal volume & issue
Vol. 13, no. 9
p. 5589

Abstract

Read online

The current neural networks for tomato leaf disease recognition have problems such as large model parameters, long training time, and low model accuracy. To solve these problems, a lightweight convolutional neural network (LBFNet) is proposed in this paper. First, LBFNet is established as the base model. Secondly, a three-channel attention mechanism module is introduced to learn the disease features in tomato leaf disease images and reduce the interference of redundant features. Finally, a cascade module is introduced to increase the depth of the model, solve the gradient descent problem, and reduce the loss caused by increasing the depth of the model. The quantized pruning technique is also used to further compress the model parameters and optimize the model performance. The results show that the LBFNet model achieves 99.06% accuracy on the LBFtomato dataset, with a training time of 996 s and a single classification accuracy of over 94%. Further training using the saved weight file after quantized pruning enables the model accuracy to reach 97.66%. Compared with the base model, the model accuracy was improved by 28%, and the model parameters were reduced by 96.7% compared with the traditional Resnet50. It was found that LBFNet can quickly and accurately identify tomato leaf diseases in complex environments, providing effective assistance to agricultural producers.

Keywords