未验证 提交 4717eb51 编写于 作者: H Hui Zhang 提交者: GitHub

Merge pull request #719 from LittleChenCc/develop

Refine the example TIMIT
......@@ -76,11 +76,11 @@ training:
global_grad_clip: 5.0
optim: adam
optim_conf:
lr: 0.004
lr: 0.002
weight_decay: 1e-06
scheduler: warmuplr # pytorch v1.1.0+ required
scheduler_conf:
warmup_steps: 25000
warmup_steps: 400
lr_decay: 1.0
log_interval: 100
checkpoint:
......
......@@ -15,8 +15,13 @@ local=`pwd`/local
utils=`pwd`/utils
conf=`pwd`/conf
[ -f $conf/test_spk.list ] || error_exit "$PROG: Eval-set speaker list not found.";
[ -f $conf/dev_spk.list ] || error_exit "$PROG: dev-set speaker list not found.";
function error_exit () {
echo -e "$@" >&2; exit 1;
}
PROG=$(basename $0)
[ -f $conf/test_spk.list ] || error_exit "$PROG line $LINENO: Eval-set speaker list not found.";
[ -f $conf/dev_spk.list ] || error_exit "$PROG line $LINENO: dev-set speaker list not found.";
# First check if the train & test directories exist (these can either be upper-
# or lower-cased
......
export MAIN_ROOT=${PWD}/../../
export MAIN_ROOT=${PWD}/../../../
export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH}
export LC_ALL=C
......
......@@ -6,7 +6,7 @@ stage=0
stop_stage=50
conf_path=conf/transformer.yaml
avg_num=10
TIMIT_path=
TIMIT_path= #path of TIMIT (Required, e.g. /export/corpora5/LDC/LDC93S1/timit/TIMIT)
source ${MAIN_ROOT}/utils/parse_options.sh || exit 1;
avg_ckpt=avg_${avg_num}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册