vc_train.py
Less than 1 minute
vc_train.py
Train a new voice conversion (VC) model on one CPU, one or multiple GPUs
usage: vc_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]
[--srcspk SRCSPK] [--trgspk TRGSPK] --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,lamb}] [--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]