提交 6c4e1361 编写于 作者: H Hui Zhang

fix chunk mode test script

上级 a486f6e6
......@@ -17,7 +17,7 @@ config_path=$1
ckpt_prefix=$2
chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then
if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true
fi
......
......@@ -17,9 +17,10 @@ config_path=$1
ckpt_prefix=$2
chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then
if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true
fi
echo "chunk mode ${chunk_mode}"
# download language model
......
......@@ -17,7 +17,7 @@ config_path=$1
ckpt_prefix=$2
chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then
if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true
fi
......
......@@ -16,7 +16,7 @@ config_path=$1
ckpt_prefix=$2
chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then
if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册