From d46f520439eaddb57a03416a4ee109b95aaa6fbc Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Thu, 16 Jul 2020 11:56:55 +0800 Subject: [PATCH] fix delta with tf2.2.0 --- env.sh | 4 ++++ tools/requirements.txt | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/env.sh b/env.sh index 952f9b02..113ebe46 100644 --- a/env.sh +++ b/env.sh @@ -50,3 +50,7 @@ export PYTHONPATH=${PYTHONPATH}:$MAIN_ROOT:$MAIN_ROOT/tools/espnet if [ -e $MAIN_ROOT/tools/go.env ];then source $MAIN_ROOT/tools/go.env fi + +# tensorflow lib path +TF_LIB_PATH=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())') +export LD_LIBRARY_PATH=${TF_LIB_PATH}:${LD_LIBRARY_PATH} diff --git a/tools/requirements.txt b/tools/requirements.txt index 4e185573..1ad70ba9 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -5,7 +5,8 @@ matplotlib sklearn pandas -librosa +librosa>=0.7.2 +numba==0.48.0 #must be this by librosa>=0.7.2 absl-py jieba wget