GRAPE LEAF VARIETY RECOGNITION BASED ON THE AF-SWIN TRANSFORMER MODEL
基于AF-SWIN TRANSFORMER模型的葡萄叶片品种识别
DOI : https://doi.org/10.35633/inmateh-75-92
Authors
Abstract
Aiming at the problem of grape leaf variety identification with unbalanced number of samples in natural background, the AF-Swin Transformer model is proposed in this study.Firstly, Focal Loss is used to effectively tackle data imbalance in grape leaves.Secondly,the AdamW optimizer is selected to better control model complexity and improve generalization.The results show that the training accuracy of the AF-Swin Transformer model is 98.72%, which is 7.87 percentage points higher than that of the original Swin Transformer model.Precision and recall improved by 4.4 and 4.3 percentage points,respectively.This study provides a scientific basis for identifying grape leaf varieties with imbalanced sample data.
Abstract in Chinese