Efficient Lightweight Railway Track Segmentation Network for Resource-Constrained Platforms with TensorRT

Chenglin Chen, Fei Wang, Min Yang, Yong Qin, Yun Bai
{"title":"Efficient Lightweight Railway Track Segmentation Network for Resource-Constrained Platforms with TensorRT","authors":"Chenglin Chen, Fei Wang, Min Yang, Yong Qin, Yun Bai","doi":"10.1093/iti/liae009","DOIUrl":null,"url":null,"abstract":"\n Accurate and rapid railway track segmentation is the fundamental for foreign object intrusion detection, inspection, online monitoring, and non-destructive assessment of transportation infrastructure. Recently, vision-based track segmentation algorithms have demonstrated strong performance. However, most existing models struggle to meet the real-time requirements on resource-constrained edge devices. Considering this challenge, we propose an edge-enabled real-time railway track segmentation algorithm, which is optimized to be suitable for edge applications by optimizing the network structure and quantizing the model after training. Initially, Ghost convolution is introduced to reduce the complexity of the backbone, thereby achieving the extraction of key information of the interested region at a lower cost. To further reduce the model complexity and calculation, a new lightweight detection head is proposed to achieve the best balance between accuracy and efficiency. Subsequently, we introduce quantization techniques to map the model’s floating-point weights and activation values into lower bit-width fixed-point representations, reducing computational demands and memory footprint, ultimately accelerating the model’s inference. Finally, we draw inspiration from GPU parallel programming principles to expedite the pre-processing and post-processing stages of the algorithm by doing parallel processing. The approach is evaluated with public and challenging dataset RailSem19 and tested on Jetson Nano. Experimental results demonstrate that our enhanced algorithm achieves an accuracy level of 83.3% alongside with 25 FPS inference speed when the input size is 480 × 480. The code can be found at: https://github.com/ccl-1/light-yolov8-seg-quantization-tensorrt.","PeriodicalId":479889,"journal":{"name":"Intelligent Transportation Infrastructure","volume":" 32","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Intelligent Transportation Infrastructure","FirstCategoryId":"0","ListUrlMain":"https://doi.org/10.1093/iti/liae009","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Accurate and rapid railway track segmentation is the fundamental for foreign object intrusion detection, inspection, online monitoring, and non-destructive assessment of transportation infrastructure. Recently, vision-based track segmentation algorithms have demonstrated strong performance. However, most existing models struggle to meet the real-time requirements on resource-constrained edge devices. Considering this challenge, we propose an edge-enabled real-time railway track segmentation algorithm, which is optimized to be suitable for edge applications by optimizing the network structure and quantizing the model after training. Initially, Ghost convolution is introduced to reduce the complexity of the backbone, thereby achieving the extraction of key information of the interested region at a lower cost. To further reduce the model complexity and calculation, a new lightweight detection head is proposed to achieve the best balance between accuracy and efficiency. Subsequently, we introduce quantization techniques to map the model’s floating-point weights and activation values into lower bit-width fixed-point representations, reducing computational demands and memory footprint, ultimately accelerating the model’s inference. Finally, we draw inspiration from GPU parallel programming principles to expedite the pre-processing and post-processing stages of the algorithm by doing parallel processing. The approach is evaluated with public and challenging dataset RailSem19 and tested on Jetson Nano. Experimental results demonstrate that our enhanced algorithm achieves an accuracy level of 83.3% alongside with 25 FPS inference speed when the input size is 480 × 480. The code can be found at: https://github.com/ccl-1/light-yolov8-seg-quantization-tensorrt.
利用 TensorRT 为资源受限平台构建高效轻量级铁路轨道分割网络
准确、快速的铁路轨道分割是对交通基础设施进行异物入侵检测、检查、在线监控和无损评估的基础。最近,基于视觉的轨道分割算法表现出了强大的性能。然而,大多数现有模型都难以满足资源有限的边缘设备的实时要求。考虑到这一挑战,我们提出了一种支持边缘的实时铁路轨道分割算法,通过优化网络结构和训练后量化模型,使其适用于边缘应用。最初,我们引入了 Ghost 卷积,以降低骨干网的复杂度,从而以较低的成本提取感兴趣区域的关键信息。为了进一步降低模型的复杂度和计算量,我们提出了一种新的轻量级检测头,以实现精度和效率之间的最佳平衡。随后,我们引入了量化技术,将模型的浮点权重和激活值映射为低位宽的定点表示,从而降低了计算需求和内存占用,最终加速了模型推理。最后,我们从 GPU 并行编程原理中汲取灵感,通过并行处理来加速算法的预处理和后处理阶段。我们利用公开且具有挑战性的数据集 RailSem19 对该方法进行了评估,并在 Jetson Nano 上进行了测试。实验结果表明,当输入尺寸为 480 × 480 时,我们的增强算法达到了 83.3% 的准确率水平,推理速度为 25 FPS。代码见:https://github.com/ccl-1/light-yolov8-seg-quantization-tensorrt。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信