未验证 提交 af27c2ba 编写于 作者: H Hui Zhang 提交者: GitHub

Merge pull request #913 from Jackwaterveg/fix_benchmark

revise the path of benchmark after merge the parakeet, add the condition of using kaldi in aishell s1
#!/bin/bash #!/bin/bash
set -e
source path.sh source path.sh
set -e
stage=0 stage=0
stop_stage=100 stop_stage=100
...@@ -46,5 +46,5 @@ fi ...@@ -46,5 +46,5 @@ fi
# Optionally, you can add LM and test it with runtime. # Optionally, you can add LM and test it with runtime.
if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then
# train lm and build TLG # train lm and build TLG
./local/tlg.sh --corpus aishell --lmtype srilm ./local/tlg.sh --corpus aishell --lmtype srilm
fi fi
source ../../tools/venv/bin/activate source ../../../tools/venv/bin/activate
#Enter the example dir #Enter the example dir
pushd ../../examples/aishell/s1 pushd ../../../examples/aishell/s1
#Prepare the data #Prepare the data
bash run.sh --stage 0 --stop_stage 0 bash run.sh --stage 0 --stop_stage 0
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# 提供可稳定复现性能的脚本,默认在标准docker环境内py37执行: paddlepaddle/paddle:latest-gpu-cuda10.1-cudnn7 paddle=2.1.2 py=37 # 提供可稳定复现性能的脚本,默认在标准docker环境内py37执行: paddlepaddle/paddle:latest-gpu-cuda10.1-cudnn7 paddle=2.1.2 py=37
# 执行目录:需说明 # 执行目录:需说明
CUR_DIR=${PWD} CUR_DIR=${PWD}
source ../../tools/venv/bin/activate source ../../../tools/venv/bin/activate
#cd ** #cd **
pushd ../../examples/aishell/s1 pushd ../../../examples/aishell/s1
# 1 安装该模型需要的依赖 (如需开启优化策略请注明) # 1 安装该模型需要的依赖 (如需开启优化策略请注明)
# 2 拷贝该模型需要数据、预训练模型 # 2 拷贝该模型需要数据、预训练模型
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册