PortaSpeech / data_gen /tts /runs /align_and_binarize.py
RayeRen's picture
init
d1b91e7
raw
history blame
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()