This repo comes with MIR-1k downloaded inside data folder.
But in case you want to download the data by yourself, here's the tutorial:
- Create a folder named
data
in project root dir:mkdir ./data
- Download MIR-1k from kaggle and put it inside this folder.
- Generate csv file:
find MIR-1K/Vocals -name "*.wav" | sort > mir-1k.csv find MIR-1K/PitchLabel -name "*.pv" | sort > mir-1k_annot.csv
- Start training!
python src/train.py data=mir-1k logger=csv
- Optionally, on mac you may add
trainer=mps
ortrainer=cpu
- Optionally, on mac you may add
- Create a folder named
data
in project root dir:mkdir ./data
- Download MIR-1k from kaggle and put it inside this folder.
- Create training data csv files:
cd data Get-ChildItem -Recurse -Filter "Wavfile\*.wav" | Sort-Object -Property Name | Select-Object -ExpandProperty FullName > "..\mir-1k.csv" Get-ChildItem -Recurse -Filter "PitchLabel\*.pv" | Sort-Object -Property Name | Select-Object -ExpandProperty FullName > "..\mir-1k_annot.csv"
- Start training!
python src/train.py data=mir-1k logger=csv