Analytical component of voice.hydev.org
Go to file
2022-03-13 03:24:29 -04:00
data [+] Add manually labeled CN-Celeb labels 2021-12-24 15:41:44 -05:00
src [+] Multithread statistics calculation 2022-03-13 03:24:29 -04:00
.gitattributes [+] Initial commit 2021-12-22 03:30:29 -05:00
.gitignore [U] Ignore DS_Store 2022-02-24 16:17:02 -05:00
README.md [O] Reformat readme 2021-12-23 00:19:38 -05:00
requirements-mac.txt [+] Function to manually label data 2021-12-23 19:35:39 -05:00
requirements-win-cuda.txt [U] Update tensorflow 2022-02-06 16:03:49 -05:00
SpeechGenderAnalysis.iml [+] Initial commit 2021-12-22 03:30:29 -05:00
test.flac [+] Calculate score 2022-02-10 16:53:21 -05:00

SpeechGenderAnalysis

Setup

MacOS

1. Setup Python:

python3.8 -m venv venv8
source venv8/bin/activate
pip3 install -r requirements-mac.txt

2. Configure plaidml to use GPU:

plaidml-setup

3. Configure environment variables in the run script:

export KERAS_BACKEND="plaidml.keras.backend"
export tg_token="Your telegram token here"

Windows (CUDA)

1. Setup Python

python3.9 -m venv venv
.\venv\Scripts\activate
pip install -r requirements-win-cuda.txt

2. Install CUDA

3. Check Device List

python -c "from tensorflow.python.client import device_lib; print(device_lib.list_local_devices())"