15fbebfdf41246c4e9dc0c3266fcf4c0095f27de,ztts_train.py,,,#,39
Before Change
// clean up / setup directory
//
cmd = "rm -rf %s" % (VOICE_PATH % voice)
logging.info(cmd)
os.system(cmd)
cmd = "mkdir -p %s" % (VOICE_PATH % voice)
logging.info(cmd)
os.system(cmd)
cmd = "cp %s %s" % (DSFN_HPARAMS % voice, HPARAMS_FN % voice)
logging.info(cmd)
os.system(cmd)
After Change
// clean up / setup directory
//
if not options.incremental:
cmd = "rm -rf %s" % (VOICE_PATH % voice)
logging.info(cmd)
os.system(cmd)
cmd = "mkdir -p %s" % (VOICE_PATH % voice)
logging.info(cmd)
os.system(cmd)
cmd = "cp %s %s" % (DSFN_HPARAMS % voice, HPARAMS_FN % voice)
logging.info(cmd)
os.system(cmd)
cmd = "mkdir -p %s" % (CHECKPOINT_DIR % voice)
logging.info(cmd)
os.system(cmd)
cmd = "mkdir -p %s" % (EVAL_DIR % voice)
logging.info(cmd)
os.system(cmd)
//
// training
//
taco = Tacotron(voice, is_training=True, tf_device=options.tf_device)
taco.train(num_epochs = options.num_epochs)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 7
Instances
Project Name: gooofy/zamia-speech
Commit Name: 15fbebfdf41246c4e9dc0c3266fcf4c0095f27de
Time: 2019-03-18
Author: guenter@zamia.org
File Name: ztts_train.py
Class Name:
Method Name: