arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.13947cs.CV
收藏

启发式风格迁移用于实时、高效的天气属性检测

Heuristic Style Transfer for Real-Time, Efficient Weather Attribute Detection

Intelligent Transportation Systems Research Team(I.T.S)(智能交通系统研究团队);Cerema;Clermont Auvergne INP(克莱蒙特-奥弗涅 INP);Université Clermont Auvergne(克莱蒙特-奥弗涅大学);Pascal Institute(帕斯卡尔研究所);CNRS(国家科学研究中心)

Hamed Ouattara, Pierre Duthon, Pascal Houssam Salmane, Frédéric Bernardin, Omar Ait Aider

AI总结:

本文提出轻量高效的架构,通过RGB图像检测天气条件及11种互补属性,共53类任务。通过多任务框架结合注意力机制,引入RTM和PMG架构,实现风格迁移与天气属性检测的结合,验证了模型的泛化能力。

摘要:

我们提出了轻量且高效的架构,用于从RGB图像中检测天气状况,预测天气类型(晴天、雨、雪、雾)及11种互补属性,如强度、能见度和地面状况,共计53类任务。本工作探讨天气状况如何以视觉风格的变化表现出来。我们研究了受风格启发的技术,包括Gram矩阵、针对低层和中间层的截断ResNet-50以及PatchGAN风格架构,在多任务框架中结合注意力机制。引入了两种家族:RTM(ResNet50-Truncated-MultiTasks)和PMG(PatchGAN-MultiTasks-Gram),以及它们的变体。我们的贡献包括自动化Gram矩阵计算、将PatchGAN整合到监督多任务学习中,以及通过局部Gram实现局部风格捕获,以提高空间一致性。我们还发布了一个包含503,875张图像的数据集,这些图像标注有12种天气属性,并采用Creative Commons Attribution(CC-BY)许可证。模型在内部测试集上实现了超过96%的F1分数,在多个外部数据集上的零样本评估中达到78%以上,证实了其泛化能力。PMG架构参数少于500万,运行速度快且内存占用小,适合嵌入式系统。模型的模块化设计也允许根据需要添加或移除风格相关或天气相关任务。

英文摘要:

We present lightweight and efficient architectures to detect weather conditions from RGB images, predicting the weather type (sunny, rain, snow, fog) and 11 complementary attributes such as intensity, visibility, and ground condition, for a total of 53 classes across the tasks. This work examines to what extent weather conditions manifest as variations in visual style. We investigate style-inspired techniques, including Gram matrices, a truncated ResNet-50 targeting lower and intermediate layers, and PatchGAN-style architectures, within a multi-task framework with attention mechanisms. Two families are introduced: RTM (ResNet50-Truncated-MultiTasks) and PMG (PatchGAN-MultiTasks-Gram), together with their variants. Our contributions include automation of Gram-matrix computation, integration of PatchGAN into supervised multi-task learning, and local style capture through local Gram for improved spatial coherence. We also release a dataset of 503,875 images annotated with 12 weather attributes under a Creative Commons Attribution (CC-BY) license. The models achieve F1 scores above 96 percent on our internal test set and above 78 percent in zero-shot evaluation on several external datasets, confirming their generalization ability. The PMG architecture, with fewer than 5 million parameters, runs in real time with a small memory footprint, making it suitable for embedded systems. The modular design of the models also allows style-related or weather-related tasks to be added or removed as needed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑