From 186ab03272368c39a4035d229c02073f1f1eba0d Mon Sep 17 00:00:00 2001 From: Shinji Watanabe Date: Thu, 28 Dec 2017 18:00:37 -0500 Subject: [PATCH] fix chime4 recipe --- egs/chime4/asr1/local/real_enhan_chime4_data_prep.sh | 8 -------- egs/chime4/asr1/local/real_noisy_chime4_data_prep.sh | 2 -- egs/chime4/asr1/local/simu_enhan_chime4_data_prep.sh | 8 -------- egs/chime4/asr1/local/simu_noisy_chime4_data_prep.sh | 2 -- egs/chime4/asr1/run.sh | 8 ++++---- 5 files changed, 4 insertions(+), 24 deletions(-) diff --git a/egs/chime4/asr1/local/real_enhan_chime4_data_prep.sh b/egs/chime4/asr1/local/real_enhan_chime4_data_prep.sh index 7d4f9c892a8..cb25370f1a5 100755 --- a/egs/chime4/asr1/local/real_enhan_chime4_data_prep.sh +++ b/egs/chime4/asr1/local/real_enhan_chime4_data_prep.sh @@ -33,14 +33,6 @@ local=`pwd`/local utils=`pwd`/utils odir=`pwd`/data -. ./path.sh # Needed for KALDI_ROOT -export PATH=$PATH:$KALDI_ROOT/tools/irstlm/bin -sph2pipe=$KALDI_ROOT/tools/sph2pipe_v2.5/sph2pipe -if [ ! -x $sph2pipe ]; then - echo "Could not find (or execute) the sph2pipe program at $sph2pipe"; - exit 1; -fi - if $eval_flag; then list_set="tr05_real_$enhan dt05_real_$enhan et05_real_$enhan" else diff --git a/egs/chime4/asr1/local/real_noisy_chime4_data_prep.sh b/egs/chime4/asr1/local/real_noisy_chime4_data_prep.sh index 6efe151949c..98a8a22a556 100755 --- a/egs/chime4/asr1/local/real_noisy_chime4_data_prep.sh +++ b/egs/chime4/asr1/local/real_noisy_chime4_data_prep.sh @@ -37,8 +37,6 @@ dir=`pwd`/data/local/data local=`pwd`/local utils=`pwd`/utils -. ./path.sh # Needed for KALDI_ROOT - if ${eval_flag}; then list_set="tr05_real_noisy dt05_real_noisy et05_real_noisy" else diff --git a/egs/chime4/asr1/local/simu_enhan_chime4_data_prep.sh b/egs/chime4/asr1/local/simu_enhan_chime4_data_prep.sh index d6419fa90b9..027dd6630e2 100755 --- a/egs/chime4/asr1/local/simu_enhan_chime4_data_prep.sh +++ b/egs/chime4/asr1/local/simu_enhan_chime4_data_prep.sh @@ -33,14 +33,6 @@ local=`pwd`/local utils=`pwd`/utils odir=`pwd`/data -. ./path.sh # Needed for KALDI_ROOT -export PATH=$PATH:$KALDI_ROOT/tools/irstlm/bin -sph2pipe=$KALDI_ROOT/tools/sph2pipe_v2.5/sph2pipe -if [ ! -x $sph2pipe ]; then - echo "Could not find (or execute) the sph2pipe program at $sph2pipe"; - exit 1; -fi - if $eval_flag; then list_set="tr05_simu_$enhan dt05_simu_$enhan et05_simu_$enhan" else diff --git a/egs/chime4/asr1/local/simu_noisy_chime4_data_prep.sh b/egs/chime4/asr1/local/simu_noisy_chime4_data_prep.sh index 28c754fe3b6..01db3ffab8b 100755 --- a/egs/chime4/asr1/local/simu_noisy_chime4_data_prep.sh +++ b/egs/chime4/asr1/local/simu_noisy_chime4_data_prep.sh @@ -37,8 +37,6 @@ dir=`pwd`/data/local/data local=`pwd`/local utils=`pwd`/utils -. ./path.sh # Needed for KALDI_ROOT - if ${eval_flag}; then list_set="tr05_simu_noisy dt05_simu_noisy et05_simu_noisy" else diff --git a/egs/chime4/asr1/run.sh b/egs/chime4/asr1/run.sh index bad4a461d3a..7cd0ee5e7a5 100755 --- a/egs/chime4/asr1/run.sh +++ b/egs/chime4/asr1/run.sh @@ -96,11 +96,11 @@ if [ ${stage} -le 0 ]; then local/real_enhan_chime4_data_prep.sh isolated_1ch_track ${chime4_data}/data/audio/16kHz/isolated_1ch_track local/simu_enhan_chime4_data_prep.sh isolated_1ch_track ${chime4_data}/data/audio/16kHz/isolated_1ch_track echo "test data for 2ch track" - local/real_enhan_chime4_data_prep.sh beamformit_2mics enhan/beamformit_2mics - local/simu_enhan_chime4_data_prep.sh beamformit_2mics enhan/beamformit_2mics + local/real_enhan_chime4_data_prep.sh beamformit_2mics ${PWD}/enhan/beamformit_2mics + local/simu_enhan_chime4_data_prep.sh beamformit_2mics ${PWD}/enhan/beamformit_2mics echo "test data for 6ch track" - local/real_enhan_chime4_data_prep.sh beamformit_5mics enhan/beamformit_5mics - local/simu_enhan_chime4_data_prep.sh beamformit_5mics enhan/beamformit_5mics + local/real_enhan_chime4_data_prep.sh beamformit_5mics ${PWD}/enhan/beamformit_5mics + local/simu_enhan_chime4_data_prep.sh beamformit_5mics ${PWD}/enhan/beamformit_5mics fi feat_tr_dir=${dumpdir}/${train_set}/delta${do_delta}; mkdir -p ${feat_tr_dir}