From ab966b7120d40d9b6c23b98421ea803f2e79b79c Mon Sep 17 00:00:00 2001 From: Junkun Date: Wed, 21 Jul 2021 12:56:49 -0700 Subject: [PATCH] move scripts to s1 dir --- examples/timit/{ => s1}/README.md | 0 examples/timit/{ => s1}/conf/augmentation.json | 0 examples/timit/{ => s1}/conf/dev_spk.list | 0 examples/timit/{ => s1}/conf/phones.60-48-39.map | 0 examples/timit/{ => s1}/conf/test_spk.list | 0 examples/timit/{ => s1}/conf/transformer.yaml | 4 ++-- examples/timit/{ => s1}/local/align.sh | 0 examples/timit/{ => s1}/local/data.sh | 0 examples/timit/{ => s1}/local/export.sh | 0 examples/timit/{ => s1}/local/test.sh | 0 examples/timit/{ => s1}/local/timit_data_prep.sh | 0 examples/timit/{ => s1}/local/timit_norm_trans.pl | 0 examples/timit/{ => s1}/local/train.sh | 0 examples/timit/{ => s1}/path.sh | 2 +- examples/timit/{ => s1}/run.sh | 2 +- 15 files changed, 4 insertions(+), 4 deletions(-) rename examples/timit/{ => s1}/README.md (100%) rename examples/timit/{ => s1}/conf/augmentation.json (100%) rename examples/timit/{ => s1}/conf/dev_spk.list (100%) rename examples/timit/{ => s1}/conf/phones.60-48-39.map (100%) rename examples/timit/{ => s1}/conf/test_spk.list (100%) rename examples/timit/{ => s1}/conf/transformer.yaml (98%) rename examples/timit/{ => s1}/local/align.sh (100%) rename examples/timit/{ => s1}/local/data.sh (100%) rename examples/timit/{ => s1}/local/export.sh (100%) rename examples/timit/{ => s1}/local/test.sh (100%) rename examples/timit/{ => s1}/local/timit_data_prep.sh (100%) rename examples/timit/{ => s1}/local/timit_norm_trans.pl (100%) rename examples/timit/{ => s1}/local/train.sh (100%) rename examples/timit/{ => s1}/path.sh (90%) rename examples/timit/{ => s1}/run.sh (93%) diff --git a/examples/timit/README.md b/examples/timit/s1/README.md similarity index 100% rename from examples/timit/README.md rename to examples/timit/s1/README.md diff --git a/examples/timit/conf/augmentation.json b/examples/timit/s1/conf/augmentation.json similarity index 100% rename from examples/timit/conf/augmentation.json rename to examples/timit/s1/conf/augmentation.json diff --git a/examples/timit/conf/dev_spk.list b/examples/timit/s1/conf/dev_spk.list similarity index 100% rename from examples/timit/conf/dev_spk.list rename to examples/timit/s1/conf/dev_spk.list diff --git a/examples/timit/conf/phones.60-48-39.map b/examples/timit/s1/conf/phones.60-48-39.map similarity index 100% rename from examples/timit/conf/phones.60-48-39.map rename to examples/timit/s1/conf/phones.60-48-39.map diff --git a/examples/timit/conf/test_spk.list b/examples/timit/s1/conf/test_spk.list similarity index 100% rename from examples/timit/conf/test_spk.list rename to examples/timit/s1/conf/test_spk.list diff --git a/examples/timit/conf/transformer.yaml b/examples/timit/s1/conf/transformer.yaml similarity index 98% rename from examples/timit/conf/transformer.yaml rename to examples/timit/s1/conf/transformer.yaml index 131173ce..eb191d0b 100644 --- a/examples/timit/conf/transformer.yaml +++ b/examples/timit/s1/conf/transformer.yaml @@ -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: diff --git a/examples/timit/local/align.sh b/examples/timit/s1/local/align.sh similarity index 100% rename from examples/timit/local/align.sh rename to examples/timit/s1/local/align.sh diff --git a/examples/timit/local/data.sh b/examples/timit/s1/local/data.sh similarity index 100% rename from examples/timit/local/data.sh rename to examples/timit/s1/local/data.sh diff --git a/examples/timit/local/export.sh b/examples/timit/s1/local/export.sh similarity index 100% rename from examples/timit/local/export.sh rename to examples/timit/s1/local/export.sh diff --git a/examples/timit/local/test.sh b/examples/timit/s1/local/test.sh similarity index 100% rename from examples/timit/local/test.sh rename to examples/timit/s1/local/test.sh diff --git a/examples/timit/local/timit_data_prep.sh b/examples/timit/s1/local/timit_data_prep.sh similarity index 100% rename from examples/timit/local/timit_data_prep.sh rename to examples/timit/s1/local/timit_data_prep.sh diff --git a/examples/timit/local/timit_norm_trans.pl b/examples/timit/s1/local/timit_norm_trans.pl similarity index 100% rename from examples/timit/local/timit_norm_trans.pl rename to examples/timit/s1/local/timit_norm_trans.pl diff --git a/examples/timit/local/train.sh b/examples/timit/s1/local/train.sh similarity index 100% rename from examples/timit/local/train.sh rename to examples/timit/s1/local/train.sh diff --git a/examples/timit/path.sh b/examples/timit/s1/path.sh similarity index 90% rename from examples/timit/path.sh rename to examples/timit/s1/path.sh index 95427277..a632babe 100644 --- a/examples/timit/path.sh +++ b/examples/timit/s1/path.sh @@ -1,4 +1,4 @@ -export MAIN_ROOT=${PWD}/../../ +export MAIN_ROOT=${PWD}/../../../ export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH} export LC_ALL=C diff --git a/examples/timit/run.sh b/examples/timit/s1/run.sh similarity index 93% rename from examples/timit/run.sh rename to examples/timit/s1/run.sh index d2b7f362..67ce7837 100755 --- a/examples/timit/run.sh +++ b/examples/timit/s1/run.sh @@ -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}