Addressing the difficulty in balancing detection accuracy and model lightweighting in vehicle detection tasks under foggy conditions, this paper proposes an improved foggy vehicle detection algorithm based on RT-DETR-r18. This algorithm overcomes the computational bottleneck of the model. First, an improved backbone network (C2FDYNCB) module is designed, combining a dynamic convolution weight (DKW) mechanism and parameter sharing (DyInConv) to construct a novel dynamic convolution unit (DAIN Mixer). This module enables adaptive depth convolution and feature fusion, significantly reducing the number of parameters and computations while still maintaining detailed processing of input feature maps. Second, a PEMD module is proposed, introducing the linear attention mechanism Pola Attention and EDFFN, which significantly improves the discriminative power of the attention map and model performance while maintaining linear complexity. Then, a lightweight adaptation block, the MOEN module, is designed to further integrate local information and stabilize feature distribution. Finally, WIoU-v3 is used as the regression loss, adaptively adjusting the weights of positive and negative samples during training to increase attention to subtle bounding boxes. Experimental results show that on the REFYG foggy dataset, the improved algorithm's mAP50 is 3. 05 percentage points higher than the original algorithm, and the model's computational complexity and number of parameters are reduced by 39. 4% and 32. 8%, respectively, achieving significant lightweighting. 针对雾天场景下车辆检测任务中,检测精度与轻量化难以平衡的问题,提出了一种基于RT-DETR-r18的改进雾天车辆检测算法,该算法克服了模型的计算瓶颈,首先,设计了一种改进的主干网络(C2FDYNCB)模块,结合动态卷积权重(DKW)机制和参数共享(DyInConv),构建了一种新型的动态卷积单元(DAIN Mixer)。该模块能够根据输入特征自适应调节深度卷积与特征融合方式,在显著减少参数量和计算量的同时,仍保持对多尺度空间特征的有效建模能力。其次,提出PEMD模块,通过引入Pola Attention线性注意力机制与EDFFN结构,在保持线性复杂度的同时大幅提高注意力图的判别性和模型性能;然后设计一个轻量化适配块MOEN模块,用于进一步整合局部信息并稳定特征分布。最后,采用WIoU-v3作为回归损失,通过在训练过程中自适应调整正负样本权重,增加对细微框的关注。实验结果表明,在REFYG雾天数据集上,改进算法的mAP50比原算法提高了3. 05个百分点,模型的计算量与参数量分别降低了39. 4%和32. 8%,实现了显著的轻量化。
Peng et al. (Tue,) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: