The Wheat Rust Classification Dataset is available at: https://www.kaggle.com/sinadunk23/behzad-safari-jalal .
Open resource ↗lines:79-99Paper record
A deep learning based approach for automated plant disease classification using vision transformer.
Scientific reports · 7 Jul 2022 · 10.1038/s41598-022-15163-0
Abstract
Plant disease can diminish a considerable portion of the agricultural products on each farm. The main goal of this work is to provide visual information for the farmers to enable them to take the necessary preventive measures. A lightweight deep learning approach is proposed based on the Vision Transformer (ViT) for real-time automated plant disease classification. In addition to the ViT, the classical convolutional neural network (CNN) methods and the combination of CNN and ViT have been implemented for the plant disease classification. The models have been trained and evaluated on multiple datasets. Based on the comparison between the obtained results, it is concluded that although attention blocks increase the accuracy, they decelerate the prediction. Combining attention blocks with CNN blocks can compensate for the speed.
Code and data availability
The paper uses the public Wheat Rust Classification Dataset (Kaggle) and the authors' analysis code is publicly available on GitHub; both are paper-specific, public, and actionable.
The code of this paper is available at https://github.com/yasaminborhani/PlantDiseaseClassification .
Open resource ↗yasaminborhani/PlantDiseaseClassification · lines:136-143