|
|
@ -1,12 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
# 提供可稳定复现性能的脚本,默认在标准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
|
|
|
|
# 执行目录:需说明
|
|
|
|
# 执行目录:需说明
|
|
|
|
|
|
|
|
script_dir=$(dirname "${BASH_SOURCE[0]}")
|
|
|
|
|
|
|
|
chmod +x $script_dir/../../../paddle_log
|
|
|
|
|
|
|
|
$script_dir/../../../paddle_log
|
|
|
|
|
|
|
|
|
|
|
|
CUR_DIR=${PWD} # PaddleSpeech/tests/benchmark/conformer
|
|
|
|
CUR_DIR=${PWD} # PaddleSpeech/tests/benchmark/conformer
|
|
|
|
cd ../../../
|
|
|
|
cd ../../../
|
|
|
|
log_path=${LOG_PATH_INDEX_DIR:-$(pwd)} # benchmark系统指定该参数,不需要跑profile时,log_path指向存speed的目录
|
|
|
|
log_path=${LOG_PATH_INDEX_DIR:-$(pwd)} # benchmark系统指定该参数,不需要跑profile时,log_path指向存speed的目录
|
|
|
|
cd ${CUR_DIR}
|
|
|
|
cd ${CUR_DIR}
|
|
|
|
sed -i '/set\ -xe/d' run_benchmark.sh
|
|
|
|
sed -i '/set\ -xe/d' run_benchmark.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#cd **
|
|
|
|
#cd **
|
|
|
|
pushd ../../../examples/aishell/asr1
|
|
|
|
pushd ../../../examples/aishell/asr1
|
|
|
|
# 1 安装该模型需要的依赖 (如需开启优化策略请注明)
|
|
|
|
# 1 安装该模型需要的依赖 (如需开启优化策略请注明)
|
|
|
|