You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently training a model and these are some steps I needed for making it work. Using Linux Mint based on Ubuntu 18.04.
I don't know if this is the correct place to post this but I hope it will be helpful
Created a conda enviroment with Python version 3.6 (README.md doesn't specify python version)
I had to change some versions on requirements.txt
numpy==1.14.5 #this is the same as you provide, some changes below were because I didn't want to change it
tensorflow-gpu==1.14.0 #you need this if you are using cuda 10.2
librosa==0.6 #this version of librosa will work just fine
pillow
h5py
sklearn
scikit-image
pyyaml
-e .
-e tfnntools
matplotlib
jupyter
moviepy==0.2.3.5 #newer version will not work
requests
numba
ltfatpy
sudo apt install cmake llvm-8
After doing these changes, run pip install like this: LLVM_CONFIG=/usr/bin/llvm-config-8 pip install -r requirements.txt
For training on a new dataset, keep in mind files should be 16000hz , mono , 16bits . only the first second of each audio file will be used for training
Bonus, this script will convert your files:
cd <where_your_wavs_are>
mkdir 16000_mono_16bit
for file in `ls *wav`; do filename=$(basename -- "$file"); sox $file -r 16000 -c 1 -b 16 16000_mono_16bit/$filename ; done
The text was updated successfully, but these errors were encountered:
I'm currently training a model and these are some steps I needed for making it work. Using Linux Mint based on Ubuntu 18.04.
I don't know if this is the correct place to post this but I hope it will be helpful
The text was updated successfully, but these errors were encountered: