SyntaSpeech / data_gen /tts /runs /align_and_binarize.py
yerfor's picture
add data_gen
02c15bb
raw
history blame contribute delete
414 Bytes
import utils.commons.single_thread_env # NOQA
from utils.commons.hparams import set_hparams, hparams
from data_gen.tts.runs.binarize import binarize
from data_gen.tts.runs.preprocess import preprocess
from data_gen.tts.runs.train_mfa_align import train_mfa_align
if __name__ == '__main__':
set_hparams()
preprocess()
if hparams['preprocess_args']['use_mfa']:
train_mfa_align()
binarize()