未验证 提交 f36818d5 编写于 作者: D dzhwinter 提交者: GitHub

"windows testing easier" (#12739)

上级 4069262f
...@@ -13,16 +13,22 @@ else ...@@ -13,16 +13,22 @@ else
use_gpu_list='false' use_gpu_list='false'
fi fi
PREFIX=inference-vis-demos%2F
URL_ROOT=http://paddlemodels.bj.bcebos.com/${PREFIX}
# download vis_demo data # download vis_demo data
function download() { function download() {
dir_name=$1 dir_name=$1
mkdir -p $dir_name mkdir -p $dir_name
cd $dir_name cd $dir_name
wget -q ${URL_ROOT}$dir_name.tar.gz if [[ -e "${PREFIX}${dir_name}.tar.gz" ]]; then
tar xzf *.tar.gz echo "${PREFIX}{dir_name}.tar.gz has been downloaded."
else
wget -q ${URL_ROOT}$dir_name.tar.gz
tar xzf *.tar.gz
fi
cd .. cd ..
} }
URL_ROOT=http://paddlemodels.bj.bcebos.com/inference-vis-demos%2F
mkdir -p data mkdir -p data
cd data cd data
vis_demo_list='se_resnext50 ocr mobilenet' vis_demo_list='se_resnext50 ocr mobilenet'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册