Download and unzip trained models in root folder (2GB)
sh evaluate.sh
sh train.sh
Optional audio data extraction guide with Essentia (macOS only)
Data set used for this project can be found here
-
Install Essentia with Homebrew:
brew tap MTG/essentia && brew install essentia
-
Make a
data/audio
folder in the project root containing subfolders of audio files. Subfolder names used as categories, i.e.data/audio/car_horn/11251.wav
-
Run
src/extract_features.py
with Python2.7 to load audio fromdata/audio
and produce JSON files with audio features -
Run
write_csv.py
to distill all JSON to one .csv
Download and unzip log files in root folder
Start TensorBoard
sh tensorboard.sh