!15203 change demo download url to r1.2

From: @yeyunpeng2020
Reviewed-by: @zhanghaibo5,@hangangqiang
Signed-off-by: @zhanghaibo5
This commit is contained in:
mindspore-ci-bot 2021-04-15 20:37:41 +08:00 committed by Gitee
commit 1e92d7917d
3 changed files with 4 additions and 5 deletions

View File

@ -25,7 +25,7 @@ get_version
MODEL_DOWNLOAD_URL="https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_imagenet/mobilenetv2.ms" MODEL_DOWNLOAD_URL="https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_imagenet/mobilenetv2.ms"
MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-linux-x64" MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-linux-x64"
MINDSPORE_FILE="${MINDSPORE_FILE_NAME}.tar.gz" MINDSPORE_FILE="${MINDSPORE_FILE_NAME}.tar.gz"
MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}-rc1/MindSpore/lite/release/linux/${MINDSPORE_FILE}" MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}/MindSpore/lite/release/linux/${MINDSPORE_FILE}"
mkdir -p build mkdir -p build
mkdir -p lib mkdir -p lib

View File

@ -25,7 +25,7 @@ get_version
MODEL_DOWNLOAD_URL="https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_imagenet/mobilenetv2.ms" MODEL_DOWNLOAD_URL="https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_imagenet/mobilenetv2.ms"
MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-linux-x64" MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-linux-x64"
MINDSPORE_FILE="${MINDSPORE_FILE_NAME}.tar.gz" MINDSPORE_FILE="${MINDSPORE_FILE_NAME}.tar.gz"
MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}-rc1/MindSpore/lite/release/linux/${MINDSPORE_FILE}" MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}/MindSpore/lite/release/linux/${MINDSPORE_FILE}"
mkdir -p build mkdir -p build
mkdir -p lib mkdir -p lib

View File

@ -42,7 +42,7 @@ checkopts()
SUPPORT_NPU="off" SUPPORT_NPU="off"
MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-aarch64" MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-aarch64"
MINDSPORE_FILE="${MINDSPORE_FILE_NAME}.tar.gz" MINDSPORE_FILE="${MINDSPORE_FILE_NAME}.tar.gz"
MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}-rc1/MindSpore/lite/release/android/${MINDSPORE_FILE}" MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}/MindSpore/lite/release/android/gpu/${MINDSPORE_FILE}"
# Process the options # Process the options
while getopts 'e:h' opt while getopts 'e:h' opt
do do
@ -54,8 +54,7 @@ checkopts()
continue continue
elif [[ "X${DEVICE}" == "Xnpu" ]]; then elif [[ "X${DEVICE}" == "Xnpu" ]]; then
MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-aarch64" MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-aarch64"
MINDSPORE_FILE="${MINDSPORE_FILE_NAME}-npu.tar.gz" MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}/MindSpore/lite/release/android/${MINDSPORE_FILE}"
MINDSPORE_LITE_DOWNLOAD_URL="https://ms-release.obs.cn-north-4.myhuaweicloud.com/${VERSION_STR}-rc1/MindSpore/lite/release/android/${MINDSPORE_FILE}"
SUPPORT_NPU="on" SUPPORT_NPU="on"
else else
echo "Unknown DEVICE option ${OPTARG}!" echo "Unknown DEVICE option ${OPTARG}!"