Performance Analysis of CNN and Transformers Models with Weighted Ensemble for Agricultural Pest Image Classification
Insect pests cause large and recurring crop losses, and manual identification in the field is slow and needs entomological expertise.This paper compares a convolutional network (ResNet50) with two vision transformers (ViT-B/16 and Swin-B) for fine-grained pest recognition on IP102, a public benchmark of 75,222 images in 102 classes with a strongly long-tailed class distribution.All three models are fine-tuned from ImageNet-pretrained weights under one shared, short…










