tts_train.py
Less than 1 minute
tts_train.py
Train a new text-to-speech (TTS) model on one CPU, one or multiple GPUs
usage: tts_train.py [-h] [--config CONFIG] [--config2 CONFIG2]
[--config3 CONFIG3] [--ngpu NGPU]
[--backend {chainer,pytorch}] --outdir OUTDIR
[--debugmode DEBUGMODE] [--seed SEED] [--resume [RESUME]]
[--minibatches MINIBATCHES] [--verbose VERBOSE]
[--tensorboard-dir [TENSORBOARD_DIR]]
[--eval-interval-epochs EVAL_INTERVAL_EPOCHS]
[--save-interval-epochs SAVE_INTERVAL_EPOCHS]
[--report-interval-iters REPORT_INTERVAL_ITERS]
--train-json TRAIN_JSON --valid-json VALID_JSON
[--model-module MODEL_MODULE] [--sortagrad [SORTAGRAD]]
[--batch-sort-key [{shuffle,output,input}]]
[--batch-count {auto,seq,bin,frame}]
[--batch-size BATCH_SIZE] [--batch-bins BATCH_BINS]
[--batch-frames-in BATCH_FRAMES_IN]
[--batch-frames-out BATCH_FRAMES_OUT]
[--batch-frames-inout BATCH_FRAMES_INOUT] [--maxlen-in ML]
[--maxlen-out ML]
[--num-iter-processes NUM_ITER_PROCESSES]
[--preprocess-conf PREPROCESS_CONF]
[--use-speaker-embedding USE_SPEAKER_EMBEDDING]
[--use-second-target USE_SECOND_TARGET]
[--opt {adam,noam}] [--accum-grad ACCUM_GRAD] [--lr LR]
[--eps EPS] [--weight-decay WEIGHT_DECAY]
[--epochs EPOCHS]
[--early-stop-criterion [EARLY_STOP_CRITERION]]
[--patience [PATIENCE]] [--grad-clip GRAD_CLIP]
[--num-save-attention NUM_SAVE_ATTENTION]
[--keep-all-data-on-mem KEEP_ALL_DATA_ON_MEM]
[--enc-init ENC_INIT] [--enc-init-mods ENC_INIT_MODS]
[--dec-init DEC_INIT] [--dec-init-mods DEC_INIT_MODS]
[--freeze-mods FREEZE_MODS]