This repository contains the code for the speech emotion recognition model built using keras, tensorflow and sklearn libraries. The data used for training purposes is the RAVDESS Audio Dataset.
Tested on python 3.11.0
To install the dependencies run:
pip install -r requirements.txt
To extract the data, run:
cd src
python ml_pipeline/utils.py
To train the model, run:
python ml_pipeline/model.py
To get predictions, run: cd src
python engine.py --framework=(keras/sklearn) --infer --infer-file-path="C:\Users\DELL\Documents\emotion 3.11\input\Audio_Speech_Actors_01-24\Actor_03\03-01-02-01-01-01-03.wav"