You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
382 B
16 lines
382 B
3 years ago
|
|
||
|
#!/bin/bash
|
||
|
|
||
3 years ago
|
config_path=$1
|
||
|
train_output_path=$2
|
||
|
|
||
|
python ${BIN_DIR}/train.py \
|
||
3 years ago
|
--train-metadata=dump/train/norm/metadata.jsonl \
|
||
|
--dev-metadata=dump/dev/norm/metadata.jsonl \
|
||
3 years ago
|
--config=${config_path} \
|
||
|
--output-dir=${train_output_path} \
|
||
3 years ago
|
--nprocs=2 \
|
||
|
--phones-dict=dump/phone_id_map.txt \
|
||
|
--tones-dict=dump/tone_id_map.txt \
|
||
|
--use-relative-path=True
|