From 863dd798d9a8fa60000c78ac27df76c4f25d7dff Mon Sep 17 00:00:00 2001 From: yeyunpeng2020 Date: Thu, 15 Apr 2021 10:53:55 +0800 Subject: [PATCH] change demo download url to r1.2 --- mindspore/lite/examples/quick_start_cpp/build.sh | 2 +- mindspore/lite/examples/quick_start_java/build.sh | 2 +- mindspore/lite/examples/runtime_cpp/build.sh | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/mindspore/lite/examples/quick_start_cpp/build.sh b/mindspore/lite/examples/quick_start_cpp/build.sh index 1a150537a1..b0a404d9fe 100644 --- a/mindspore/lite/examples/quick_start_cpp/build.sh +++ b/mindspore/lite/examples/quick_start_cpp/build.sh @@ -25,7 +25,7 @@ get_version 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="${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 lib diff --git a/mindspore/lite/examples/quick_start_java/build.sh b/mindspore/lite/examples/quick_start_java/build.sh index 547e9d6c1a..78603d874b 100644 --- a/mindspore/lite/examples/quick_start_java/build.sh +++ b/mindspore/lite/examples/quick_start_java/build.sh @@ -25,7 +25,7 @@ get_version 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="${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 lib diff --git a/mindspore/lite/examples/runtime_cpp/build.sh b/mindspore/lite/examples/runtime_cpp/build.sh index 8fb3b6e1cd..c4e8f6d30a 100644 --- a/mindspore/lite/examples/runtime_cpp/build.sh +++ b/mindspore/lite/examples/runtime_cpp/build.sh @@ -42,7 +42,7 @@ checkopts() SUPPORT_NPU="off" MINDSPORE_FILE_NAME="mindspore-lite-${VERSION_STR}-android-aarch64" 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 while getopts 'e:h' opt do @@ -54,8 +54,7 @@ checkopts() continue elif [[ "X${DEVICE}" == "Xnpu" ]]; then 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}-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/${MINDSPORE_FILE}" SUPPORT_NPU="on" else echo "Unknown DEVICE option ${OPTARG}!"