Skip to content

Commit

Permalink
Use espnet python package for ASR eval
Browse files Browse the repository at this point in the history
  • Loading branch information
Unal Ege Gaznepoglu committed Dec 19, 2023
1 parent 714f1e6 commit 8a6dd3d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion evaluation/utility/asr/path.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MAIN_ROOT=~/espnet/ # TODO: change this to the path to your ESPnet installation
MAIN_ROOT=./voicepat_env/lib/python3.11/site-packages/espnet # TODO: change this to the path to your ESPnet installation

export PATH=$PWD/utils/:$PATH
export LC_ALL=C
Expand All @@ -8,7 +8,12 @@ if [ -f "${MAIN_ROOT}"/tools/activate_python.sh ]; then
else
echo "[INFO] "${MAIN_ROOT}"/tools/activate_python.sh is not present"
fi

if [ -f "${MAIN_ROOT}"/tools/extra_path.sh ]; then
. "${MAIN_ROOT}"/tools/extra_path.sh
else
echo "[INFO] "${MAIN_ROOT}"/tools/extra_path.sh is not present"
fi

export OMP_NUM_THREADS=1

Expand Down

0 comments on commit 8a6dd3d

Please sign in to comment.