Accurate weather image classification remains challenging because weather phenomena often exhibit similar visual characteristics, particularly among freezing-related conditions. This study proposes a hybrid ResNet101–SpinalNet architecture for classifying 11 weather categories in the Weather Phenomenon Database (WEAPD). We utilize pretrained ResNet101 to extract visual features and replace its conventional fully connected classifier with SpinalNet to improve feature utilization during classification. The dataset contains 6,876 images and is divided into training, validation, and testing subsets. We apply image preprocessing, data augmentation, ImageNet normalization, and weighted cross-entropy loss to improve model generalization and address class imbalance. The proposed model achieves 91.87% test accuracy, with macro-precision of 91.84%, macro-recall of 92.20%, and macro-F1-score of 91.84%. Compared with the ResNet101 baseline, which achieves 83.39% accuracy, the proposed architecture improves accuracy by 8.48 percentage points. The results demonstrate that SpinalNet provides an effective classifier head for improving weather image classification without modifying the ResNet101 backbone.
Copyrights © 2026