This study aims to compare the performance of two Convolutional Neural Network (CNN) architectures, EfficientNetB0 and EfficientNetV2-S, in classifying guava (Psidium guajava L.) conditions based on digital images. The dataset consists of three classes: anthracnose, fruit fly infestation, and healthy fruits. Class imbalance was addressed using an undersampling technique, while both models were developed using a transfer learning approach with ImageNet pre-trained weights and trained for 30 epochs. Model performance was evaluated using accuracy, precision, recall, and F1-score. The results showed that EfficientNetB0 achieved a validation accuracy of 99.49% with a loss of 0.0124, whereas EfficientNetV2-S achieved a validation accuracy of 94.17% with a loss of 0.2153. The classification report further showed that EfficientNetB0 achieved F1-scores ranging from 0.99 to 1.00 across the three classes, while EfficientNetV2-S achieved F1-scores ranging from 0.92 to 0.96. Based on these results, EfficientNetB0 demonstrated higher classification performance than EfficientNetV2-S on the dataset and training configuration used in this study.
Copyrights © 2026