Cargando…
Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4ml
In this paper, we investigate how field programmable gate arrays can serve as hardware accelerators for real-time semantic segmentation tasks relevant for autonomous driving. Considering compressed versions of the ENet convolutional neural network architecture, we demonstrate a fully-on-chip deploym...
Autores principales: | , , , , , , , , , , |
---|---|
Lenguaje: | eng |
Publicado: |
2022
|
Materias: | |
Acceso en línea: | https://dx.doi.org/10.1088/2632-2153/ac9cb5 http://cds.cern.ch/record/2839971 |
_version_ | 1780976005705367552 |
---|---|
author | Ghielmetti, Nicolò Loncar, Vladimir Pierini, Maurizio Roed, Marcel Summers, Sioni Aarrestad, Thea Petersson, Christoffer Linander, Hampus Ngadiuba, Jennifer Lin, Kelvin Harris, Philip |
author_facet | Ghielmetti, Nicolò Loncar, Vladimir Pierini, Maurizio Roed, Marcel Summers, Sioni Aarrestad, Thea Petersson, Christoffer Linander, Hampus Ngadiuba, Jennifer Lin, Kelvin Harris, Philip |
author_sort | Ghielmetti, Nicolò |
collection | CERN |
description | In this paper, we investigate how field programmable gate arrays can serve as hardware accelerators for real-time semantic segmentation tasks relevant for autonomous driving. Considering compressed versions of the ENet convolutional neural network architecture, we demonstrate a fully-on-chip deployment with a latency of 4.9 ms per image, using less than 30% of the available resources on a Xilinx ZCU102 evaluation board. The latency is reduced to 3 ms per image when increasing the batch size to ten, corresponding to the use case where the autonomous vehicle receives inputs from multiple cameras simultaneously. We show, through aggressive filter reduction and heterogeneous quantization-aware training, and an optimized implementation of convolutional layers, that the power consumption and resource utilization can be significantly reduced while maintaining accuracy on the Cityscapes dataset. |
id | cern-2839971 |
institution | Organización Europea para la Investigación Nuclear |
language | eng |
publishDate | 2022 |
record_format | invenio |
spelling | cern-28399712023-03-31T10:13:57Zdoi:10.1088/2632-2153/ac9cb5http://cds.cern.ch/record/2839971engGhielmetti, NicolòLoncar, VladimirPierini, MaurizioRoed, MarcelSummers, SioniAarrestad, TheaPetersson, ChristofferLinander, HampusNgadiuba, JenniferLin, KelvinHarris, PhilipReal-time semantic segmentation on FPGAs for autonomous vehicles with hls4mlComputing and ComputersDetectors and Experimental TechniquesIn this paper, we investigate how field programmable gate arrays can serve as hardware accelerators for real-time semantic segmentation tasks relevant for autonomous driving. Considering compressed versions of the ENet convolutional neural network architecture, we demonstrate a fully-on-chip deployment with a latency of 4.9 ms per image, using less than 30% of the available resources on a Xilinx ZCU102 evaluation board. The latency is reduced to 3 ms per image when increasing the batch size to ten, corresponding to the use case where the autonomous vehicle receives inputs from multiple cameras simultaneously. We show, through aggressive filter reduction and heterogeneous quantization-aware training, and an optimized implementation of convolutional layers, that the power consumption and resource utilization can be significantly reduced while maintaining accuracy on the Cityscapes dataset.In this paper, we investigate how field programmable gate arrays can serve as hardware accelerators for real-time semantic segmentation tasks relevant for autonomous driving. Considering compressed versions of the ENet convolutional neural network architecture, we demonstrate a fully-on-chip deployment with a latency of 4.9 ms per image, using less than 30% of the available resources on a Xilinx ZCU102 evaluation board. The latency is reduced to 3 ms per image when increasing the batch size to ten, corresponding to the use case where the autonomous vehicle receives inputs from multiple cameras simultaneously. We show, through aggressive filter reduction and heterogeneous quantization-aware training, and an optimized implementation of convolutional layers, that the power consumption and resource utilization can be significantly reduced while maintaining accuracy on the Cityscapes dataset.arXiv:2205.07690FERMILAB-PUB-22-435-PPDoai:cds.cern.ch:28399712022-05-16 |
spellingShingle | Computing and Computers Detectors and Experimental Techniques Ghielmetti, Nicolò Loncar, Vladimir Pierini, Maurizio Roed, Marcel Summers, Sioni Aarrestad, Thea Petersson, Christoffer Linander, Hampus Ngadiuba, Jennifer Lin, Kelvin Harris, Philip Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4ml |
title | Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4ml |
title_full | Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4ml |
title_fullStr | Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4ml |
title_full_unstemmed | Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4ml |
title_short | Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4ml |
title_sort | real-time semantic segmentation on fpgas for autonomous vehicles with hls4ml |
topic | Computing and Computers Detectors and Experimental Techniques |
url | https://dx.doi.org/10.1088/2632-2153/ac9cb5 http://cds.cern.ch/record/2839971 |
work_keys_str_mv | AT ghielmettinicolo realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT loncarvladimir realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT pierinimaurizio realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT roedmarcel realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT summerssioni realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT aarrestadthea realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT peterssonchristoffer realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT linanderhampus realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT ngadiubajennifer realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT linkelvin realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml AT harrisphilip realtimesemanticsegmentationonfpgasforautonomousvehicleswithhls4ml |