diff --git a/doc/installation.md b/doc/installation.md index 999082c9043..0a1c8acf022 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -202,14 +202,14 @@ We also have [prebuilt Kaldi binaries](https://github.com/espnet/espnet/blob/mas ```sh $ cd /tools - $ make TH_VERSION=1.3.1 + $ make TH_VERSION=1.10.1 ``` Note that the CUDA version is derived from `nvcc` command. If you'd like to specify the other CUDA version, you need to give `CUDA_VERSION`. ```sh $ cd /tools - $ make TH_VERSION=1.3.1 CUDA_VERSION=10.1 + $ make TH_VERSION=1.10.1 CUDA_VERSION=11.3 ``` If you don't have `nvcc` command, packages are installed for CPU mode by default. diff --git a/egs2/TEMPLATE/asr1/db.sh b/egs2/TEMPLATE/asr1/db.sh index 942716654c2..3785aef57a8 100755 --- a/egs2/TEMPLATE/asr1/db.sh +++ b/egs2/TEMPLATE/asr1/db.sh @@ -125,6 +125,7 @@ TOTONAC=downloads PRIMEWORDS_CHINESE=downloads SEAME= BENGALI=downloads +IWSLT14= # For only CMU TIR environment if [[ "$(hostname)" == tir* ]]; then @@ -154,6 +155,7 @@ if [[ "$(hostname)" == tir* ]]; then BABEL_403=/projects/tir5/data/speech_corpora/babel/IARPA-babel403b-v1.0b-build/BABEL_OP3_403/ BABEL_404=/projects/tir5/data/speech_corpora/babel/IARPA_BABEL_OP3_404/ GRABO=/projects/tir5/data/speech_corpora/Grabo + IWSLT14=/projects/tir5/data/iwslt14 IWSLT22_DIALECT=/projects/tir5/data/speech_corpora/LDC2022E01_IWSLT22_Tunisian_Arabic_Shared_Task_Training_Data/ PRIMEWORDS_CHINESE=/projects/tir5/data/speech_corpora/Primewords_Chinese FISHER_CALLHOME_SPANISH=/projects/tir5/data/speech_corpora/fisher_callhome_spanish diff --git a/egs2/TEMPLATE/enh1/enh.sh b/egs2/TEMPLATE/enh1/enh.sh index ff8c8040206..cb6e9e8503b 100755 --- a/egs2/TEMPLATE/enh1/enh.sh +++ b/egs2/TEMPLATE/enh1/enh.sh @@ -72,7 +72,7 @@ init_param= # Enhancement related inference_args="--normalize_output_wav true" -inference_model=valid.si_snr.ave.pth +inference_model=valid.loss.ave.pth download_model= # Evaluation related diff --git a/egs2/TEMPLATE/enh1/scripts/utils/show_enh_score.sh b/egs2/TEMPLATE/enh1/scripts/utils/show_enh_score.sh index 2a453dab44c..66fb9bc81c2 100755 --- a/egs2/TEMPLATE/enh1/scripts/utils/show_enh_score.sh +++ b/egs2/TEMPLATE/enh1/scripts/utils/show_enh_score.sh @@ -69,7 +69,11 @@ while IFS= read -r expdir; do line="|${dset}|" for ((i=0; i<${#metrics[@]}; i++)); do type=${metrics[$i]} - score=$(head -n1 "${expdir}"/${dset}/scoring/result_${type}.txt) + if [ -f "${expdir}"/${dset}/scoring/result_${type}.txt ]; then + score=$(head -n1 "${expdir}"/${dset}/scoring/result_${type}.txt) + else + score="" + fi line+="${score}|" done echo $line diff --git a/egs2/TEMPLATE/mt1/cmd.sh b/egs2/TEMPLATE/mt1/cmd.sh new file mode 100644 index 00000000000..2aae6919fef --- /dev/null +++ b/egs2/TEMPLATE/mt1/cmd.sh @@ -0,0 +1,110 @@ +# ====== About run.pl, queue.pl, slurm.pl, and ssh.pl ====== +# Usage: .pl [options] JOB=1: +# e.g. +# run.pl --mem 4G JOB=1:10 echo.JOB.log echo JOB +# +# Options: +# --time