diff --git a/PaddleSlim/run.sh b/PaddleSlim/run.sh index 14b2b14af8613a854b806ad787002cc7aae23d65..791b42da93d9ffaeb2610cb3fca0e3430e1bf17a 100644 --- a/PaddleSlim/run.sh +++ b/PaddleSlim/run.sh @@ -2,8 +2,8 @@ # download pretrain model root_url="http://paddle-imagenet-models-name.bj.bcebos.com" -MobileNetV1="MobileNetV1_pretrained.zip" -ResNet50="ResNet50_pretrained.zip" +MobileNetV1="MobileNetV1_pretrained.tar" +ResNet50="ResNet50_pretrained.tar" pretrain_dir='./pretrain' if [ ! -d ${pretrain_dir} ]; then @@ -14,12 +14,12 @@ cd ${pretrain_dir} if [ ! -f ${MobileNetV1} ]; then wget ${root_url}/${MobileNetV1} - unzip ${MobileNetV1} + tar xf ${MobileNetV1} fi if [ ! -f ${ResNet50} ]; then wget ${root_url}/${ResNet50} - unzip ${ResNet50} + tar xf ${ResNet50} fi cd -