fix the bug of benchmark after merge the parakeet, add the condition of using kaldi in aishll s1

pull/913/head
huangyuxin 3 years ago
parent 0674d9ec24
commit bfda49bf40

@ -1,6 +1,6 @@
#!/bin/bash
set -e
source path.sh
set -e
stage=0
stop_stage=100
@ -46,5 +46,5 @@ fi
# Optionally, you can add LM and test it with runtime.
if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then
# train lm and build TLG
./local/tlg.sh --corpus aishell --lmtype srilm
./local/tlg.sh --corpus aishell --lmtype srilm
fi

@ -1,7 +1,7 @@
source ../../tools/venv/bin/activate
source ../../../tools/venv/bin/activate
#Enter the example dir
pushd ../../examples/aishell/s1
pushd ../../../examples/aishell/s1
#Prepare the data
bash run.sh --stage 0 --stop_stage 0

@ -2,9 +2,9 @@
# 提供可稳定复现性能的脚本默认在标准docker环境内py37执行 paddlepaddle/paddle:latest-gpu-cuda10.1-cudnn7 paddle=2.1.2 py=37
# 执行目录:需说明
CUR_DIR=${PWD}
source ../../tools/venv/bin/activate
source ../../../tools/venv/bin/activate
#cd **
pushd ../../examples/aishell/s1
pushd ../../../examples/aishell/s1
# 1 安装该模型需要的依赖 (如需开启优化策略请注明)
# 2 拷贝该模型需要数据、预训练模型

Loading…
Cancel
Save