An open API service indexing awesome lists of open source software.

https://github.com/maguids/urbansound8k-classification

This project consists of classifying correctly the sounds of the UrbanSound8K dataset. First Semester of the Third Year of the Bachelor's Degree in Artificial Intelligence and Data Science.
https://github.com/maguids/urbansound8k-classification

cnn-2d mel-spectrograms rnn sound-classification tensorflow urban-sound-8k urban-sound-classification

Last synced: 2 months ago
JSON representation

This project consists of classifying correctly the sounds of the UrbanSound8K dataset. First Semester of the Third Year of the Bachelor's Degree in Artificial Intelligence and Data Science.

Awesome Lists containing this project

README

          

# UrbanSound8K Classification

This project was developed for the "Machine Learning II" course and aims to **develop deep learning classifiers** for urban sound data, using the UrbanSound8K dataset. Classifiers must be able to **identify which of 10 classes of urban sounds** (such as sirens, dog barking, drills, etc.) **a previously unseen audio clip belongs to**. For this we implemented: **Convolutional Neural Network 2D (CNN)** and **Recurrent Neural Network (RNN)**.
First Semester of the Third Year of the Bachelor's Degree in Artificial Intelligence and Data Science.


## Requirements:

- librosa
- matplotlib
- ipython
- scipy
- pandas
- numpy
- seaborn
- soundfile
- scikit-learn
- tensorflow


## The Project
As stated previously, the goal of this project is to develop two types of neural networks capable of correctly classifying portions of audio correctly.


### The Dataset:

In this project we use the **"UrbanSound8K"** dataset which can be obtained through the following link: https://urbansounddataset.weebly.com/urbansound8k.html. This dataset contains 8732 labed sounds excerpts of duration less than or equal to 4 seconds. The sound excerpts are labelled according to the following 10 classes:
- air conditioner;
- car horn;
- children playing;
- dog bark;
- drilling;
- engine idling;
- gun shot;
- jackhammer;
- sirne;
- street music.


### Pre-Processing:
Before preparing the data for each model, we start by dealing with the sound tracks in general, that is, we make some changes that do not impact the choice of the model to be used:
- Standardize Sampling Rate at 22050Hz;
- Convert to Mono;
- Standardizing Audio Duration to 4s using zero-padding or truncation;
- Normalizing Amplitude to the Range [-1,1].


### Models

- **CNN 2D**
- **RNN**


## About the repository:

- Project.pdf ➡️Project statement
- Trabalho_AC.ipynb ➡️ The work developed;


## Link to the course:

This course is part of the **first semester** of the **third year** of the **Bachelor's Degree in Artificial Intelligence and Data Science** at **FCUP** and **FEUP** in the academic year 2024/2025. You can find more information about this course at the following link:



Link to Course



FCUP


FEUP