Merge pull request #719 from LittleChenCc/develop

Refine the example TIMIT
pull/722/head
Hui Zhang 4 years ago committed by GitHub
commit 4717eb51d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,11 +76,11 @@ training:
global_grad_clip: 5.0 global_grad_clip: 5.0
optim: adam optim: adam
optim_conf: optim_conf:
lr: 0.004 lr: 0.002
weight_decay: 1e-06 weight_decay: 1e-06
scheduler: warmuplr # pytorch v1.1.0+ required scheduler: warmuplr # pytorch v1.1.0+ required
scheduler_conf: scheduler_conf:
warmup_steps: 25000 warmup_steps: 400
lr_decay: 1.0 lr_decay: 1.0
log_interval: 100 log_interval: 100
checkpoint: checkpoint:

@ -15,8 +15,13 @@ local=`pwd`/local
utils=`pwd`/utils utils=`pwd`/utils
conf=`pwd`/conf conf=`pwd`/conf
[ -f $conf/test_spk.list ] || error_exit "$PROG: Eval-set speaker list not found."; function error_exit () {
[ -f $conf/dev_spk.list ] || error_exit "$PROG: dev-set speaker list not found."; 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- # First check if the train & test directories exist (these can either be upper-
# or lower-cased # or lower-cased

@ -1,4 +1,4 @@
export MAIN_ROOT=${PWD}/../../ export MAIN_ROOT=${PWD}/../../../
export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH} export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH}
export LC_ALL=C export LC_ALL=C

@ -6,7 +6,7 @@ stage=0
stop_stage=50 stop_stage=50
conf_path=conf/transformer.yaml conf_path=conf/transformer.yaml
avg_num=10 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; source ${MAIN_ROOT}/utils/parse_options.sh || exit 1;
avg_ckpt=avg_${avg_num} avg_ckpt=avg_${avg_num}
Loading…
Cancel
Save