fix chunk mode test script

pull/733/head
Hui Zhang 3 years ago
parent a486f6e618
commit 6c4e1361be

@ -17,7 +17,7 @@ config_path=$1
ckpt_prefix=$2 ckpt_prefix=$2
chunk_mode=false chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true chunk_mode=true
fi fi

@ -17,9 +17,10 @@ config_path=$1
ckpt_prefix=$2 ckpt_prefix=$2
chunk_mode=false chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true chunk_mode=true
fi fi
echo "chunk mode ${chunk_mode}"
# download language model # download language model

@ -17,7 +17,7 @@ config_path=$1
ckpt_prefix=$2 ckpt_prefix=$2
chunk_mode=false chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true chunk_mode=true
fi fi

@ -16,7 +16,7 @@ config_path=$1
ckpt_prefix=$2 ckpt_prefix=$2
chunk_mode=false chunk_mode=false
if [[ ${config_path} =~ ^chunk_ ]];then if [[ ${config_path} =~ ^.*chunk_.*yaml$ ]];then
chunk_mode=true chunk_mode=true
fi fi

Loading…
Cancel
Save