Cargando…

Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities

Environmental Sound Recognition (ESR) plays a crucial role in smart cities by accurately categorizing audio using well-trained Machine Learning (ML) classifiers. This application is particularly valuable for cities that analyzed environmental sounds to gain insight and data. However, deploying deep...

Descripción completa

Detalles Bibliográficos
Autores principales: Lamrini, Mimoun, Chkouri, Mohamed Yassin, Touhafi, Abdellah
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10347208/
https://www.ncbi.nlm.nih.gov/pubmed/37448075
http://dx.doi.org/10.3390/s23136227
_version_ 1785073496044339200
author Lamrini, Mimoun
Chkouri, Mohamed Yassin
Touhafi, Abdellah
author_facet Lamrini, Mimoun
Chkouri, Mohamed Yassin
Touhafi, Abdellah
author_sort Lamrini, Mimoun
collection PubMed
description Environmental Sound Recognition (ESR) plays a crucial role in smart cities by accurately categorizing audio using well-trained Machine Learning (ML) classifiers. This application is particularly valuable for cities that analyzed environmental sounds to gain insight and data. However, deploying deep learning (DL) models on resource-constrained embedded devices, such as Raspberry Pi (RPi) or Tensor Processing Units (TPUs), poses challenges. In this work, an evaluation of an existing pre-trained model for deployment on Raspberry Pi (RPi) and TPU platforms other than a laptop is proposed. We explored the impact of the retraining parameters and compared the sound classification performance across three datasets: ESC-10, BDLib, and Urban Sound. Our results demonstrate the effectiveness of the pre-trained model for transfer learning in embedded systems. On laptops, the accuracy rates reached 96.6% for ESC-10, 100% for BDLib, and 99% for Urban Sound. On RPi, the accuracy rates were 96.4% for ESC-10, 100% for BDLib, and 95.3% for Urban Sound, while on RPi with Coral TPU, the rates were 95.7% for ESC-10, 100% for BDLib and 95.4% for the Urban Sound. Utilizing pre-trained models reduces the computational requirements, enabling faster inference. Leveraging pre-trained models in embedded systems accelerates the development, deployment, and performance of various real-time applications.
format Online
Article
Text
id pubmed-10347208
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-103472082023-07-15 Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities Lamrini, Mimoun Chkouri, Mohamed Yassin Touhafi, Abdellah Sensors (Basel) Article Environmental Sound Recognition (ESR) plays a crucial role in smart cities by accurately categorizing audio using well-trained Machine Learning (ML) classifiers. This application is particularly valuable for cities that analyzed environmental sounds to gain insight and data. However, deploying deep learning (DL) models on resource-constrained embedded devices, such as Raspberry Pi (RPi) or Tensor Processing Units (TPUs), poses challenges. In this work, an evaluation of an existing pre-trained model for deployment on Raspberry Pi (RPi) and TPU platforms other than a laptop is proposed. We explored the impact of the retraining parameters and compared the sound classification performance across three datasets: ESC-10, BDLib, and Urban Sound. Our results demonstrate the effectiveness of the pre-trained model for transfer learning in embedded systems. On laptops, the accuracy rates reached 96.6% for ESC-10, 100% for BDLib, and 99% for Urban Sound. On RPi, the accuracy rates were 96.4% for ESC-10, 100% for BDLib, and 95.3% for Urban Sound, while on RPi with Coral TPU, the rates were 95.7% for ESC-10, 100% for BDLib and 95.4% for the Urban Sound. Utilizing pre-trained models reduces the computational requirements, enabling faster inference. Leveraging pre-trained models in embedded systems accelerates the development, deployment, and performance of various real-time applications. MDPI 2023-07-07 /pmc/articles/PMC10347208/ /pubmed/37448075 http://dx.doi.org/10.3390/s23136227 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Lamrini, Mimoun
Chkouri, Mohamed Yassin
Touhafi, Abdellah
Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities
title Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities
title_full Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities
title_fullStr Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities
title_full_unstemmed Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities
title_short Evaluating the Performance of Pre-Trained Convolutional Neural Network for Audio Classification on Embedded Systems for Anomaly Detection in Smart Cities
title_sort evaluating the performance of pre-trained convolutional neural network for audio classification on embedded systems for anomaly detection in smart cities
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10347208/
https://www.ncbi.nlm.nih.gov/pubmed/37448075
http://dx.doi.org/10.3390/s23136227
work_keys_str_mv AT lamrinimimoun evaluatingtheperformanceofpretrainedconvolutionalneuralnetworkforaudioclassificationonembeddedsystemsforanomalydetectioninsmartcities
AT chkourimohamedyassin evaluatingtheperformanceofpretrainedconvolutionalneuralnetworkforaudioclassificationonembeddedsystemsforanomalydetectioninsmartcities
AT touhafiabdellah evaluatingtheperformanceofpretrainedconvolutionalneuralnetworkforaudioclassificationonembeddedsystemsforanomalydetectioninsmartcities