OlaWod / my-tts-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-tts-tools

Demo

Open In Colab

Usage

LJSpeech

python prepare_data.py config/LJSpeech/preprocess.yaml
./mfa/montreal-forced-aligner/bin/mfa_align ./preprocessed_data/LJSpeech/data ./mytext/lexicon/librispeech-lexicon.txt english ./preprocessed_data/LJSpeech/textgrid
python preprocess.py config/LJSpeech/preprocess.yaml

AISHELL3

prepare_data:

python prepare_data.py config/AISHELL3/preprocess.yaml

mfa:

./mfa/montreal-forced-aligner/bin/mfa_train_and_align ./preprocessed_data/AISHELL3/data ./mytext/lexicon/pinyin-lexicon-r.txt ./preprocessed_data/AISHELL3/textgrid

preprocess:

python preprocess.py config/AISHELL3/preprocess.yaml

train:

python train.py -p config/AISHELL3/preprocess.yaml -m config/AISHELL3/model.yaml -t config/AISHELL3/train.yaml

evaluate:

python evaluate.py -p config/AISHELL3/preprocess.yaml -m config/AISHELL3/model.yaml -t config/AISHELL3/train.yaml

synthesize:

python synthesize.py --source test.txt --restore_step 3000 -p config/AISHELL3/preprocess.yaml -m config/AISHELL3/model.yaml -t config/AISHELL3/train.yaml

About


Languages

Language:Jupyter Notebook 97.8%Language:Python 2.2%