← All projects

gender-recognition-by-voice

by @x4nth055

130

Building a Deep learning model that predicts the gender of a speaker using TensorFlow 2

About this project

Gender Recognition using Voice This repository is about building a deep learning model using TensorFlow 2 to recognize gender of a given speaker's audio. Read this tutorial for more information. Requirements TensorFlow 2.x.x Scikit-learn Numpy Pandas PyAudio Librosa Cloning the repository: git clone https://github.com/x4nth055/gender-recognition-by-voice Installing the required libraries: pip3 install -r requirements.txt Dataset used Mozilla's Common Voice large dataset is used here, and some preprocessing has been performed: Filtered out invalid samples. Filtered only the samples that are labeled in genre field. Balanced the dataset so that number of female samples are equal to male. Used Mel Spectrogram feature extraction technique to get a vector of a fixed length from each voice sample, the data folder contain only the features and not the actual mp3 samples (the dataset is too large, about 13GB). If you wish to download the dataset and extract the features files (.npy files) on your own, preparation.py is the responsible script for that, once you unzip it, put preparation.py in the root directory of the dataset and run it.

From the project README on GitHub

Stars
130
Forks
46
License
MIT
Last push
25 Apr 2023

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/gender-recognition-by-voice.svg)](https://www.madeinalgeria.dev/projects/gender-recognition-by-voice)

Related projects