Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kaldi-asr/kaldi
Browse files Browse the repository at this point in the history
* 'master' of github.com:kaldi-asr/kaldi:
  Update run_blstm.sh (kaldi-asr#4790)
  Provide provision to pass subword separator as argument to make_position_dependent_subword_lexicon.py (kaldi-asr#4794)
  change [utter] to [utterance.] in data_prep.dox (kaldi-asr#4795)
  [egs] Kill feral dupes of --num-threads in few local eg scripts (kaldi-asr#4792)
  [scripts] Move otherwise misleading comment in mkgraph.sh (kaldi-asr#4787)
  [scripts] Copy utt2lang in copy_data_dir.sh (kaldi-asr#4789)
  Fix: ali-to-post piping in post-to-tacc example (kaldi-asr#4788)
  [infra] add cpu-only docker build  (kaldi-asr#4783)
  [infra] docker images automatically using gh (kaldi-asr#4782)
  remove the c++17 removed function random_shuffle
  remove obsoleted and C++17 incompatible unary_function<>, resolves kaldi-asr#4732
  [egs] Set PYTHONUNBUFFERED=1 in all recipes (kaldi-asr#4770)
  Fix typo in gen_cmake_skeleton (kaldi-asr#4779)
  use last segment of the CXX as the ccbin compiler for cuda (kaldi-asr#4778)
  Windows conda fixes (kaldi-asr#4777)
  Replace TravisCI with github actions (kaldi-asr#4776)
  Kaldi recipe for SPGISpeech (kaldi-asr#4772)
  fix portaudio install script, closes kaldi-asr#4755 (kaldi-asr#4773)
  • Loading branch information
rkjaran committed Oct 17, 2022
2 parents 7e12bd2 + f6f4cca commit 649d195
Show file tree
Hide file tree
Showing 202 changed files with 2,197 additions and 120 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: C/C++ CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
env:
CCACHE_DIR: /home/runner/work/kaldi/kaldi/.ccache
CXX: "ccache g++"
CC: "ccache gcc"

steps:
- uses: actions/checkout@v3
- name: Install sox
run: sudo apt-get install -y sox intel-mkl
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
verbose: 1
max-size: 3G
- name: make tools
run: cd tools && make -j3
- name: ccache stats
run: ccache -s
- name: configure
run: cd src && ./configure --shared
- name: make depend
run: cd src && make clean && make depend
- name: make
run: cd src && make -j 3
- name: make test
run: cd src && make test
103 changes: 103 additions & 0 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Docker Image CI

on:
schedule:
- cron: '37 2 * * 1'
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
# pull_request: #for debugging purposes
# branches: [ "master" ]

jobs:
enable_build:
if: github.repository == 'kaldi-asr/kaldi'
runs-on: ubuntu-latest
outputs:
enabled: ${{ steps.set-enabled.outputs.enabled }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set enabled
id: set-enabled
run: |
set -x
echo $(git rev-list --after="1 week" ${{ github.sha }})
if test -z $(git rev-list --after="1 week" ${{ github.sha }} | tail -n 1) ; then
enabled=false
else
enabled=true
fi
echo "enabled: $enabled"
echo "::set-output name=enabled::${enabled}"
docker-buildx-gpu:
needs: enable_build
if: needs.enable_build.outputs.enabled == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
install: true
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Inspect builder
run: |
echo "Name: ${{ steps.buildx.outputs.name }}"
echo "Endpoint: ${{ steps.buildx.outputs.endpoint }}"
echo "Status: ${{ steps.buildx.outputs.status }}"
echo "Flags: ${{ steps.buildx.outputs.flags }}"
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
- name: Build and push
run: |
cd docker/ubuntu18.04-cuda10.0/
docker build --push --tag kaldiasr/kaldi:gpu-latest --tag kaldiasr/kaldi:gpu-ubuntu18.04-cuda10.0 --tag kaldiasr/kaldi:gpu-ubuntu18.04-cuda10.0-$(date +%F) .
docker-buildx-cpu:
needs: enable_build
if: needs.enable_build.outputs.enabled == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
install: true
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Inspect builder
run: |
echo "Name: ${{ steps.buildx.outputs.name }}"
echo "Endpoint: ${{ steps.buildx.outputs.endpoint }}"
echo "Status: ${{ steps.buildx.outputs.status }}"
echo "Flags: ${{ steps.buildx.outputs.flags }}"
echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
- name: Build and push
run: |
cd docker/debian10-cpu/
docker build --push \
--tag kaldiasr/kaldi:latest \
--tag kaldiasr/kaldi:cpu-latest \
--tag kaldiasr/kaldi:cpu-debian10 \
--tag kaldiasr/kaldi:cpu-debian10-$(date +%F) .
7 changes: 7 additions & 0 deletions .shellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Reference:
# # https://github.com/codefactor-io/shellcheck-config
# # https://github.com/koalaman/shellcheck/wiki/Checks
ignored:
-SC2181
-SC2145

25 changes: 17 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if(CONDA_ROOT)
# https://github.com/kaldi-asr/kaldi/blob/master/src/matrix/kaldi-blas.h#L95-L113
add_definitions(-DHAVE_OPENBLAS=1)
if(MSVC)
include_directories($ENV{LIBRARY_INC}/)
link_libraries(cblas lapack)
# necessary macros to compile on windows, from here:
# https://icl.cs.utk.edu/lapack-for-windows/lapack/
add_definitions(-DADD_)
Expand Down Expand Up @@ -146,6 +146,17 @@ if(MSVC)
# some warnings related with fst
add_compile_options(/wd4018 /wd4244 /wd4267 /wd4291 /wd4305)

set(CompilerFlags
CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_RELEASE
CMAKE_C_FLAGS
CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_RELEASE
)
foreach(CompilerFlag ${CompilerFlags})
string(REPLACE "/MD" "/MT" ${CompilerFlag} "${${CompilerFlag}}")
endforeach()
set(CUDA_USE_STATIC_CUDA_RUNTIME OFF CACHE INTERNAL "")
if(NOT DEFINED ENV{CUDAHOSTCXX})
set(ENV{CUDAHOSTCXX} ${CMAKE_CXX_COMPILER})
Expand All @@ -159,23 +170,21 @@ find_package(CUDAToolkit)
find_package(CUDA)
if(CUDA_FOUND)
set(CUDA_PROPAGATE_HOST_FLAGS ON)
set(KALDI_CUDA_NVCC_FLAGS "--default-stream=per-thread;-std=c++${CMAKE_CXX_STANDARD}")
if(MSVC)
set(KALDI_CUDA_NVCC_FLAGS "--default-stream=per-thread") # Fixes incompatibility with cxx14 and cxx17 for Kaldi vs cuda in VS2019
list(APPEND KALDI_CUDA_NVCC_FLAGS "-Xcompiler /permissive-,/FS,/wd4819,/EHsc,/bigobj")
list(APPEND KALDI_CUDA_NVCC_FLAGS "-Xcompiler /wd4018,/wd4244,/wd4267,/wd4291,/wd4305")
if(BUILD_SHARED_LIBS)
list(APPEND CUDA_NVCC_FLAGS_RELEASE -Xcompiler /MD)
list(APPEND CUDA_NVCC_FLAGS_DEBUG -Xcompiler /MDd)
endif()
list(APPEND CUDA_NVCC_FLAGS_RELEASE -Xcompiler /MD) # Kaldi will always be dynamically linked to Cuda
list(APPEND CUDA_NVCC_FLAGS_DEBUG -Xcompiler /MDd)
else()
# list(APPEND KALDI_CUDA_NVCC_FLAGS "-Xcompiler -std=c++${CMAKE_CXX_STANDARD}")
list(APPEND KALDI_CUDA_NVCC_FLAGS "-Xcompiler -fPIC")
set(KALDI_CUDA_NVCC_FLAGS "--default-stream=per-thread;-std=c++${CMAKE_CXX_STANDARD}")
endif()
set(CUDA_NVCC_FLAGS ${KALDI_CUDA_NVCC_FLAGS} ${CUDA_NVCC_FLAGS})

add_definitions(-DHAVE_CUDA=1)
add_definitions(-DCUDA_API_PER_THREAD_DEFAULT_STREAM=1)
include_directories(${CUDA_INCLUDE_DIRS})
link_libraries(
${CUDA_LIBRARIES}
${CUDA_CUDA_LIBRARY}
Expand Down Expand Up @@ -244,8 +253,8 @@ add_subdirectory(src/chain)
add_subdirectory(src/ivector)
if(NOT MSVC)
add_subdirectory(src/online)
add_subdirectory(src/online2)
endif()
add_subdirectory(src/online2)
add_subdirectory(src/kws)

add_subdirectory(src/itf)
Expand Down
16 changes: 8 additions & 8 deletions cmake/gen_cmake_skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ def get_exe_additional_depends(t):
"generate-proxy-keywords": ["fstext"],
"transcripts-to-fsts": ["fstext"],
}
l = []
libs = []
for pattern in additional.keys():
if fnmatch.fnmatch(t, pattern):
l.extend(list(map(lambda name: lib_dir_name_to_lib_target(name), additional[pattern])))
return sorted(list(set(l)))
libs.extend(list(map(lambda name: lib_dir_name_to_lib_target(name), additional[pattern])))
return sorted(list(set(libs)))

def disable_for_win32(t):
disabled = [
Expand Down Expand Up @@ -194,7 +194,7 @@ def gen_code(self):
ret.append("""
install(TARGETS {tgt} EXPORT kaldi-targets)
install(FILES ${{PUBLIC_HEADERS}} DESTINATION include/kaldi/{dir})
install(FILES ${{PUBLIC_HEADERS}} DESTINATION include/kaldi/{dir} COMPONENT kaldi)
""".format(tgt=self.target_name, dir=self.dir_name))

return "\n".join(ret)
Expand Down Expand Up @@ -233,8 +233,8 @@ def load_dependency_from_makefile(self, filename):
return
libs = makefile.split("ADDLIBS")[-1].split("\n\n")[0]
libs = re.findall("[^\s\\\\=]+", libs)
for l in libs:
self.depends.append(os.path.splitext(os.path.basename(l))[0])
for lib in libs:
self.depends.append(os.path.splitext(os.path.basename(lib))[0])

def gen_code(self):
ret = []
Expand All @@ -249,7 +249,7 @@ def gen_code(self):
self.source_list.append("${CUDA_OBJS}")
ret.append("if(CUDA_FOUND)")
ret.append(" cuda_include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)")
ret.append(" cuda_compile(CUDA_OBJS")
ret.append(" cuda_compile(CUDA_OBJS SHARED")
for f in self.cuda_source_list:
ret.append(" " + f)
ret.append(" )")
Expand Down Expand Up @@ -296,7 +296,7 @@ def get_test_exe_name(filename):
LIBRARY DESTINATION ${{CMAKE_INSTALL_LIBDIR}} COMPONENT kaldi
RUNTIME DESTINATION ${{CMAKE_INSTALL_BINDIR}} COMPONENT kaldi
)
install(FILES ${{PUBLIC_HEADERS}} DESTINATION include/kaldi/{dir})
install(FILES ${{PUBLIC_HEADERS}} DESTINATION include/kaldi/{dir} COMPONENT kaldi)
""".format(tgt=self.target_name, dir=self.dir_name))

return "\n".join(ret)
Expand Down
1 change: 1 addition & 0 deletions cmake/third_party/openfst.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ if(NOT openfst_POPULATED)
)

install(DIRECTORY ${openfst_SOURCE_DIR}/src/include/ DESTINATION include/
COMPONENT kaldi
FILES_MATCHING PATTERN "*.h")

install(TARGETS fst
Expand Down
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
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/nnet3/run_blstm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ if [ $stage -le 7 ]; then
fast-lstmp-layer name=blstm2-backward input=Append(blstm1-forward, blstm1-backward) delay=2 $lstm_opts
fast-lstmp-layer name=blstm3-forward input=Append(blstm2-forward, blstm2-backward) delay=-3 $lstm_opts
fast-lstmp-layer name=blstm3-backward input=Append(blstm2-forward, blstm2-backward delay=3 $lstm_opts
fast-lstmp-layer name=blstm3-backward input=Append(blstm2-forward, blstm2-backward) delay=3 $lstm_opts
output-layer name=output output-delay=$label_delay dim=$num_targets max-change=1.5
output-layer name=output input=Append(blstm3-forward, blstm3-backward) include-log-softmax=false output-delay=0 dim=$num_targets max-change=1.5
EOF
steps/nnet3/xconfig_to_configs.py --xconfig-file $dir/configs/network.xconfig --config-dir $dir/configs || exit 1
fi
Expand Down
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
Loading

0 comments on commit 649d195

Please sign in to comment.