We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4069262 commit f36818dCopy full SHA for f36818d
paddle/fluid/inference/api/demo_ci/run.sh
@@ -13,16 +13,22 @@ else
13
use_gpu_list='false'
14
fi
15
16
+PREFIX=inference-vis-demos%2F
17
+URL_ROOT=http://paddlemodels.bj.bcebos.com/${PREFIX}
18
+
19
# download vis_demo data
20
function download() {
21
dir_name=$1
22
mkdir -p $dir_name
23
cd $dir_name
- wget -q ${URL_ROOT}$dir_name.tar.gz
- tar xzf *.tar.gz
24
+ if [[ -e "${PREFIX}${dir_name}.tar.gz" ]]; then
25
+ echo "${PREFIX}{dir_name}.tar.gz has been downloaded."
26
+ else
27
+ wget -q ${URL_ROOT}$dir_name.tar.gz
28
+ tar xzf *.tar.gz
29
+ fi
30
cd ..
31
}
-URL_ROOT=http://paddlemodels.bj.bcebos.com/inference-vis-demos%2F
32
mkdir -p data
33
cd data
34
vis_demo_list='se_resnext50 ocr mobilenet'
0 commit comments