The code, data and the hybrid model are available at https://github.com/hema2107/Swin-HViT.
Open resource ↗hema2107/Swin-HViT · pdf-page:2 lines:1-60Unverified paper record
Swin-HViT: A Hybrid Transformer Approach for Accurate Early-Stage Crop Disease Diagnosis
14 Jan 2026 · 10.21203/rs.3.rs-8588269/v1
Abstract
Abstract Agriculture plays a pivotal role in global economic growth, yet it faces significant challenges from pests and crop diseases. Early detection is crucial for preventing large-scale crop losses and ensuring food security. This study introduces a hybrid transformer model, Swin-HViT, which integrates the strengths of Vision Transformer (ViT) and Swin Transformer to accurately predict crop diseases. While ViT captures global image features, Swin Transformer excels at extracting fine-grained local details. Evaluated on two benchmark datasets, Corn and PlantDoc, our model achieved accuracy of 98.81% and 81.81%, respectively, surpassing recent works. Here, we demonstrate the effectiveness of combining complementary transformer architectures to enhance disease identification in diverse agricultural settings. The code, data and the hybrid model are available at https://github.com/hema2107/Swin-HViT.
Plant phenotyping relevance
植物画像から病害状態を推定する画像解析モデルの開発・ベンチマークが中心であり、植物病害の表現型推定手法に該当する。
abstractThis study introduces a hybrid transformer model, Swin-HViT, which integrates the strengths of Vision Transformer (ViT) and Swin Transformer to accurately predict crop diseases.
abstractEvaluated on two benchmark datasets, Corn and PlantDoc, our model achieved accuracy of 98.81% and 81.81%, respectively, surpassing recent works.
Code and data availability
The paper explicitly states that the code, data, and hybrid model are publicly available in the authors' GitHub repository, and it evaluates on two public Kaggle plant-disease image datasets (Corn/maize leaf disease and PlantDoc) that serve as the phenotyping image inputs for the study.
The first dataset used for hybrid model evaluation is available on Kaggle at https://www.kaggle.com/datasets/smaranjitghose/corn-or-maize-leaf-disease-dataset (accessed on August 2025).
Open resource ↗pdf-page:7 lines:1-31The second dataset is also from Kaggle available at the link https://www.kaggle.com/datasets/abdulhasibuddin/plant-doc-dataset (accessed on August 2025) [24].
Open resource ↗pdf-page:7 lines:1-31This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.