Merge pull request #766 from Jackwaterveg/fix_auto_log

路径修复
pull/775/head
Hui Zhang 3 years ago committed by GitHub
commit 0bc11c2829
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
bash prepare.sh ds2_params_lite_train_infer.txt lite_train_infer bash prepare.sh ds2_params_lite_train_infer.txt lite_train_infer
cd ../examples/tiny/s0 cd ../../examples/tiny/s0
source path.sh source path.sh
bash ../../../tests/test.sh ../../../tests/ds2_params_lite_train_infer.txt lite_train_infer bash ../../../tests/chains/test.sh ../../../tests/chains/ds2_params_lite_train_infer.txt lite_train_infer
cd ../../../ cd ../../../tests/chains

@ -34,7 +34,7 @@ MODE=$2
if [ ${MODE} = "lite_train_infer" ];then if [ ${MODE} = "lite_train_infer" ];then
# pretrain lite train data # pretrain lite train data
curPath=$(readlink -f "$(dirname "$0")") curPath=$(readlink -f "$(dirname "$0")")
cd ${curPath}/../examples/tiny/s0 cd ${curPath}/../../examples/tiny/s0
source path.sh source path.sh
# download audio data # download audio data
bash ./local/data.sh || exit -1 bash ./local/data.sh || exit -1
@ -47,7 +47,7 @@ if [ ${MODE} = "lite_train_infer" ];then
elif [ ${MODE} = "whole_train_infer" ];then elif [ ${MODE} = "whole_train_infer" ];then
curPath=$(readlink -f "$(dirname "$0")") curPath=$(readlink -f "$(dirname "$0")")
cd ${curPath}/../examples/aishell/s0 cd ${curPath}/../../examples/aishell/s0
source path.sh source path.sh
# download audio data # download audio data
bash ./local/data.sh || exit -1 bash ./local/data.sh || exit -1
@ -59,7 +59,7 @@ elif [ ${MODE} = "whole_train_infer" ];then
cd ${curPath} cd ${curPath}
elif [ ${MODE} = "whole_infer" ];then elif [ ${MODE} = "whole_infer" ];then
curPath=$(readlink -f "$(dirname "$0")") curPath=$(readlink -f "$(dirname "$0")")
cd ${curPath}/../examples/aishell/s0 cd ${curPath}/../../examples/aishell/s0
source path.sh source path.sh
# download audio data # download audio data
bash ./local/data.sh || exit -1 bash ./local/data.sh || exit -1
@ -71,7 +71,7 @@ elif [ ${MODE} = "whole_infer" ];then
cd ${curPath} cd ${curPath}
else else
curPath=$(readlink -f "$(dirname "$0")") curPath=$(readlink -f "$(dirname "$0")")
cd ${curPath}/../examples/aishell/s0 cd ${curPath}/../../examples/aishell/s0
source path.sh source path.sh
# download audio data # download audio data
bash ./local/data.sh || exit -1 bash ./local/data.sh || exit -1

@ -1,5 +1,5 @@
bash prepare.sh ds2_params_whole_train_infer.txt whole_train_infer bash prepare.sh ds2_params_whole_train_infer.txt whole_train_infer
cd ../examples/aishell/s0 cd ../../examples/aishell/s0
source path.sh source path.sh
bash ../../../tests/test.sh ../../../tests/ds2_params_whole_train_infer.txt whole_train_infer bash ../../../tests/chains/test.sh ../../../tests/chains/ds2_params_whole_train_infer.txt whole_train_infer
cd ../../../ cd ../../../tests/chains

Loading…
Cancel
Save