This is a continuation of many different sources of Urban sound classification implementations
- Put the UrbanSound8K folder in the same folder as the scripts (or create a link to the folder)
- Create the following folders
- models
- summary
- upload
- processed_audio
- Run
pip install -r requirements.txt
pip install tensorflow-gpu
if you want to use your graphics card- note that additional software might be required for tensorflow-gpu to work
- Run the scripts in the following order
feature_extraction.py
feature_merge.py
model_creator.py
- The model is now created and is ready to be used for classifying sounds
- Follow the instructions in
urban_sound_classifier.py
to start the flask server - Classify sound files by using
sound_poster.py <path to soundfile.wav>