Skip to content

Commit

Permalink
[egs] Set PYTHONUNBUFFERED=1 in all recipes (#4770)
Browse files Browse the repository at this point in the history
* Set PYTHONUNBUFFERED=TRUE for wsj,tedlium

To force stdout, stderr to be unbuffered for python scripts.
Without this setting parts of the stream might be lost in a few cases.
Relevant mainly for python versions <3.7.

* Set PYTHONUNBUFFERED=TRUE for all recipes

Add to path.sh in all except the already updated wsj, tedlium.
To force stdout, stderr to be unbuffered for python scripts.
Relevant mainly for python versions <3.7.

* Set PYTHONUNBUFFERED=TRUE in remaining path.sh

These files were missed by mistake in earlier commits.

* Use 1 instead of TRUE for PYTHONUNBUFFERED
  • Loading branch information
ma08 authored Aug 17, 2022
1 parent 6c86e03 commit ae2efea
Show file tree
Hide file tree
Showing 139 changed files with 139 additions and 0 deletions.
1 change: 1 addition & 0 deletions egs/aidatatang_200zh/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/aishell/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/aishell/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/aishell2/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/ami/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ SRILM=$KALDI_ROOT/tools/srilm/bin/i686-m64
BEAMFORMIT=$KALDI_ROOT/tools/BeamformIt

export PATH=$PATH:$LMBIN:$BEAMFORMIT:$SRILM
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/ami/s5b/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ SRILM=$KALDI_ROOT/tools/srilm/bin/i686-m64
BEAMFORMIT=$KALDI_ROOT/tools/BeamformIt

export PATH=$PATH:$LMBIN:$BEAMFORMIT:$SRILM
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/ami/s5c/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/an4/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
. $KALDI_ROOT/tools/config/common_path.sh

export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/apiai_decode/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/aspire/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
. $KALDI_ROOT/tools/config/common_path.sh
export PATH=$KALDI_ROOT/tools/sctk/bin:$PATH
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/aurora4/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/babel/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export KALDI_ROOT=`pwd`/../../..
. /export/babel/data/software/env.sh
export PATH=$PWD/utils/:$KALDI_ROOT/tools/sph2pipe_v2.5/:$KALDI_ROOT/src/bin:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/src/fstbin/:$KALDI_ROOT/src/gmmbin/:$KALDI_ROOT/src/featbin/:$KALDI_ROOT/src/lmbin/:$KALDI_ROOT/src/sgmmbin/:$KALDI_ROOT/src/sgmm2bin/:$KALDI_ROOT/src/fgmmbin/:$KALDI_ROOT/src/latbin/:$KALDI_ROOT/src/nnetbin:$KALDI_ROOT/src/nnet2bin/:$KALDI_ROOT/src/kwsbin:$PWD:$PATH
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/babel/s5b/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export KALDI_ROOT=`pwd`/../../..
. /export/babel/data/software/env.sh
export PATH=$PWD/utils/:$KALDI_ROOT/tools/sph2pipe_v2.5/:$KALDI_ROOT/src/bin:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/src/fstbin/:$KALDI_ROOT/src/gmmbin/:$KALDI_ROOT/src/featbin/:$KALDI_ROOT/src/lmbin/:$KALDI_ROOT/src/sgmmbin/:$KALDI_ROOT/src/sgmm2bin/:$KALDI_ROOT/src/fgmmbin/:$KALDI_ROOT/src/latbin/:$KALDI_ROOT/src/nnetbin:$KALDI_ROOT/src/nnet2bin/:$KALDI_ROOT/src/kwsbin:$PWD:$PATH
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/babel/s5c/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export KALDI_ROOT=`pwd`/../../..
. /export/babel/data/software/env.sh
export PATH=$PWD/utils/:$KALDI_ROOT/tools/sph2pipe_v2.5/:$KALDI_ROOT/src/bin:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/src/fstbin/:$KALDI_ROOT/src/gmmbin/:$KALDI_ROOT/src/featbin/:$KALDI_ROOT/src/lmbin/:$KALDI_ROOT/src/sgmmbin/:$KALDI_ROOT/src/sgmm2bin/:$KALDI_ROOT/src/fgmmbin/:$KALDI_ROOT/src/latbin/:$KALDI_ROOT/src/nnetbin:$KALDI_ROOT/src/nnet2bin/:$KALDI_ROOT/src/kwsbin:$PWD:$PATH
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/babel/s5d/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
. $KALDI_ROOT/tools/config/common_path.sh

export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/babel_multilang/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
. $KALDI_ROOT/tools/config/common_path.sh

export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/bentham/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/bn_music_speech/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/callhome_diarization/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/callhome_diarization/v2/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/callhome_egyptian/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/casia_hwdb/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/chime1/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/chime2/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/chime3/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/b
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/chime4/s5_1ch/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/chime4/s5_2ch/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/chime4/s5_6ch/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/chime5/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/chime5/s5b/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/chime6/s5_track1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/chime6/s5_track2/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export PYTHONPATH="${PYTHONPATH}:$PWD/dscore"
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/chime6/s5b_track1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/chime6/s5b_track2/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export PYTHONPATH="${PYTHONPATH}:$PWD/dscore"
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/chime6/s5c_track2/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export PYTHONPATH="${PYTHONPATH}:$PWD/dscore"
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

1 change: 1 addition & 0 deletions egs/cifar/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/cl_english/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ fi
if [ -f $KALDI_ROOT/tools/env.sh ]; then
. $KALDI_ROOT/tools/env.sh
fi
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/cmu_cslu_kids/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/cnceleb/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/cnceleb/v2/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/commonvoice/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1

# For now, don't include any of the optional dependenices of the main
# librispeech recipe
1 change: 1 addition & 0 deletions egs/csj/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/lib:/usr/local/lib64:/usr/local/cuda/bin/nvcc

export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/dihard_2018/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/dihard_2018/v2/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/fame/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/fame/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/fame/v2/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/farsdat/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/b
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/fisher_callhome_spanish/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/dpovey/libs
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/fisher_english/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/fisher_swbd/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/formosa/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gale_arabic/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gale_arabic/s5b/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gale_arabic/s5c/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gale_arabic/s5d/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gale_mandarin/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/kaldi_lm
. $KALDI_ROOT/tools/config/common_path.sh
. $KALDI_ROOT/tools/env.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gigaspeech/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ PYTHON='python2.7'
sequitur=$KALDI_ROOT/tools/sequitur-g2p/g2p.py
sequitur_path="$(dirname $sequitur)/lib/$PYTHON/site-packages"
export PATH=$PATH:$(dirname $sequitur):$sequitur_path
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gop_speechocean762/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ sequitur_path="$(dirname $sequitur)/lib/$PYTHON/site-packages"

# Directory under which the LM training corpus should be extracted
LM_CORPUS_ROOT=./lm-corpus
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/gp/s1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ TOOLS=$SHORTEN:$SOX

export PATH=$PATH:$KALDIBIN:$FSTBIN:$LMBIN:$SCRIPTS:$TOOLS
export LC_ALL=C
export PYTHONUNBUFFERED=1

# Site-specific configs:
[ `hostname -y` == ecdf ] && { . path_ed.sh; }
1 change: 1 addition & 0 deletions egs/gp/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export kaldi_steps=$PWD/steps
SCRIPTS=$kaldi_local:$kaldi_utils:$kaldi_steps

export PATH=$PATH:$KALDIBIN:$FSTBIN:$LMBIN:$SCRIPTS
export PYTHONUNBUFFERED=1

# If the correct version of shorten and sox are not on the path,
# the following will be set by local/gp_check_tools.sh
Expand Down
1 change: 1 addition & 0 deletions egs/heroico/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/hi_mia/v1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/hi_mia/w1/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/hkust/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
. $KALDI_ROOT/tools/config/common_path.sh
export LC_ALL=C
export PYTHONUNBUFFERED=1
1 change: 1 addition & 0 deletions egs/hub4_english/s5/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe
if [ -f $KALDI_ROOT/tools/env.sh ]; then . $KALDI_ROOT/tools/env.sh; fi
export PATH=$KALDI_ROOT/tools/sctk/bin:$PATH
export LC_ALL=C
export PYTHONUNBUFFERED=1
Loading

0 comments on commit ae2efea

Please sign in to comment.