Skip to content

Commit

Permalink
fix chime4 recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
sw005320 committed Dec 28, 2017
1 parent f8a5ad4 commit 186ab03
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 24 deletions.
8 changes: 0 additions & 8 deletions egs/chime4/asr1/local/real_enhan_chime4_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions egs/chime4/asr1/local/real_noisy_chime4_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions egs/chime4/asr1/local/simu_enhan_chime4_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions egs/chime4/asr1/local/simu_noisy_chime4_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions egs/chime4/asr1/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 186ab03

Please sign in to comment.