Style-Based Neural Architectures for Real-Time Weather Classification

April 20, 2026 Β· Grace Period Β· πŸ› International Conference on Image Analysis (ICIAR 2025) and Recognition

⏳ Grace Period
This paper is less than 90 days old. We give authors time to release their code before passing judgment.
Authors Hamed Ouattara, Pascal Houssam Salmane, Pierre Duthon, FrΓ©dΓ©ric Bernardin, Omar Ait Aider arXiv ID 2604.18251 Category cs.CV: Computer Vision Cross-listed cs.AI, cs.LG, stat.AP Citations 0 Venue International Conference on Image Analysis (ICIAR 2025) and Recognition
Abstract
In this paper, we present three neural network architectures designed for real-time classification of weather conditions (sunny, rain, snow, fog) from images. These models, inspired by recent advances in style transfer, aim to capture the stylistic elements present in images. One model, called "Multi-PatchGAN", is based on PatchGANs used in well-known architectures such as Pix2Pix and CycleGAN, but here adapted with multiple patch sizes for detection tasks. The second model, "Truncated ResNet50", is a simplified version of ResNet50 retaining only its first nine layers. This truncation, determined by an evolutionary algorithm, facilitates the extraction of high-frequency features essential for capturing subtle stylistic details. Finally, we propose "Truncated ResNet50 with Gram Matrix and Attention", which computes Gram matrices for each layer during training and automatically weights them via an attention mechanism, thus optimizing the extraction of the most relevant stylistic expressions for classification. These last two models outperform the state of the art and demonstrate remarkable generalization capability on several public databases. Although developed for weather detection, these architectures are also suitable for other appearance-based classification tasks, such as animal species recognition, texture classification, disease detection in medical imaging, or industrial defect identification.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Computer Vision

πŸŒ… πŸŒ… Old Age

Fast R-CNN

Ross Girshick

cs.CV πŸ› ICCV πŸ“š 27.7K cites 11 years ago