From bc585767e77bd6044d28232aff0f871386e5627d Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 15:24:22 +0800 Subject: [PATCH 1/5] -mfix some translations om quick_start on branch r1.0 --- tutorials/lite/source_en/quick_start/quick_start.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index 40a337274f..e6e4204bb1 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -80,7 +80,7 @@ The following section describes how to build and execute an on-device image clas For details about how to connect the Android Studio to a device for debugging, see . - The mobile phone needs to be turn on "USB debugging mode" before Android Studio can recognize the mobile phone. Huawei mobile phones generally turn on "USB debugging model" in Settings > system and update > developer Options > USB debugging. + The mobile phone needs to turn on "USB debugging mode" for Android Studio to recognize the phone. In general, Huawei mobile phones turn on "USB debugging mode" in Settings -> System and Update -> Developer Options -> USB Debugging. 3. Continue the installation on the Android device. After the installation is complete, you can view the content captured by a camera and the inference result. @@ -179,7 +179,7 @@ target_link_libraries( -In this example, the download.gradle File configuration auto download MindSpore Lite version, placed in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. +In this example, the build process automatically downloads the MindSpore Lite version file by the download.gradle file and saves it in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -187,7 +187,7 @@ MindSpore Lite version [MindSpore Lite version](https://download.mindspore.cn/mo ### Downloading and Deploying a Model File -In this example, the download.gradle File configuration auto download `mobilenetv2.ms `and placed in the 'app / libs / arm64-v8a' directory. +In this example, the build process automatically downloads the `mobilenetv2.ms ` by the download.gradle file and saves in the 'app / libs / arm64-v8a' directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -266,7 +266,7 @@ The inference code process is as follows. For details about the complete code, s delete[] (dataHWC); ``` -3. Pretreat the input data. +3. Preprocessing the input data. ```cpp bool PreProcessImageData(const LiteMat &lite_mat_bgr, LiteMat *lite_norm_mat_ptr) { -- Gitee From 9e7203d46fe8914d65dafebd04173fa4eadb1174 Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 17:18:11 +0800 Subject: [PATCH 2/5] remove jdk link on quick_start on branch r1.0 --- tutorials/lite/source_en/quick_start/quick_start.md | 1 - 1 file changed, 1 deletion(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index e6e4204bb1..a4b1a22b0e 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -56,7 +56,6 @@ The following section describes how to build and execute an on-device image clas - Native development kit (NDK) 21.3 - [CMake](https://cmake.org/download) 3.10.2 - Android software development kit (SDK) 26 or later -- [JDK]( https://www.oracle.com/downloads/otn-pub/java/JDK/) 1.8 or later ### Building and Running -- Gitee From 1dfef0a8f286777e47ae97f021dd65c042210cfc Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 17:22:52 +0800 Subject: [PATCH 3/5] Revert "-mfix some translations om quick_start on branch r1.0" This reverts commit 04d72ef6714513700ed13fdeb51307fc98f0a35a. --- tutorials/lite/source_en/quick_start/quick_start.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index a4b1a22b0e..486c0580c3 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -79,7 +79,7 @@ The following section describes how to build and execute an on-device image clas For details about how to connect the Android Studio to a device for debugging, see . - The mobile phone needs to turn on "USB debugging mode" for Android Studio to recognize the phone. In general, Huawei mobile phones turn on "USB debugging mode" in Settings -> System and Update -> Developer Options -> USB Debugging. + The mobile phone needs to be turn on "USB debugging mode" before Android Studio can recognize the mobile phone. Huawei mobile phones generally turn on "USB debugging model" in Settings > system and update > developer Options > USB debugging. 3. Continue the installation on the Android device. After the installation is complete, you can view the content captured by a camera and the inference result. @@ -178,7 +178,7 @@ target_link_libraries( -In this example, the build process automatically downloads the MindSpore Lite version file by the download.gradle file and saves it in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. +In this example, the download.gradle File configuration auto download MindSpore Lite version, placed in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -186,7 +186,7 @@ MindSpore Lite version [MindSpore Lite version](https://download.mindspore.cn/mo ### Downloading and Deploying a Model File -In this example, the build process automatically downloads the `mobilenetv2.ms ` by the download.gradle file and saves in the 'app / libs / arm64-v8a' directory. +In this example, the download.gradle File configuration auto download `mobilenetv2.ms `and placed in the 'app / libs / arm64-v8a' directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -265,7 +265,7 @@ The inference code process is as follows. For details about the complete code, s delete[] (dataHWC); ``` -3. Preprocessing the input data. +3. Pretreat the input data. ```cpp bool PreProcessImageData(const LiteMat &lite_mat_bgr, LiteMat *lite_norm_mat_ptr) { -- Gitee From da4de43b67abc7ec2755cdac2a1f06aa0f6a5d30 Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 18:08:02 +0800 Subject: [PATCH 4/5] fix some translantions and remove jdk links on quick_statrt on branch r1.0 --- tutorials/lite/source_en/quick_start/quick_start.md | 9 +++++---- tutorials/lite/source_zh_cn/quick_start/quick_start.md | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index 486c0580c3..c022463906 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -79,7 +79,8 @@ The following section describes how to build and execute an on-device image clas For details about how to connect the Android Studio to a device for debugging, see . - The mobile phone needs to be turn on "USB debugging mode" before Android Studio can recognize the mobile phone. Huawei mobile phones generally turn on "USB debugging model" in Settings > system and update > developer Options > USB debugging. + The mobile phone needs to turn on "USB debugging mode" for Android Studio to recognize the phone. In general, Huawei mobile phones turn on "USB debugging mode" in Settings -> System and Update -> Developer Options -> USB Debugging. + 3. Continue the installation on the Android device. After the installation is complete, you can view the content captured by a camera and the inference result. @@ -178,7 +179,7 @@ target_link_libraries( -In this example, the download.gradle File configuration auto download MindSpore Lite version, placed in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. +In this example, the build process automatically downloads the MindSpore Lite version file by the download.gradle file and saves it in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -186,7 +187,7 @@ MindSpore Lite version [MindSpore Lite version](https://download.mindspore.cn/mo ### Downloading and Deploying a Model File -In this example, the download.gradle File configuration auto download `mobilenetv2.ms `and placed in the 'app / libs / arm64-v8a' directory. +In this example, the build process automatically downloads the `mobilenetv2.ms ` by the download.gradle file and saves in the 'app / libs / arm64-v8a' directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -265,7 +266,7 @@ The inference code process is as follows. For details about the complete code, s delete[] (dataHWC); ``` -3. Pretreat the input data. +3. Preprocessing the input data. ```cpp bool PreProcessImageData(const LiteMat &lite_mat_bgr, LiteMat *lite_norm_mat_ptr) { diff --git a/tutorials/lite/source_zh_cn/quick_start/quick_start.md b/tutorials/lite/source_zh_cn/quick_start/quick_start.md index d9726b00dc..4bc7417c11 100644 --- a/tutorials/lite/source_zh_cn/quick_start/quick_start.md +++ b/tutorials/lite/source_zh_cn/quick_start/quick_start.md @@ -55,7 +55,6 @@ MindSpore Model Zoo中图像分类模型可[在此下载](https://download.minds - NDK 21.3 - [CMake](https://cmake.org/download) 3.10.2 - Android SDK >= 26 -- [JDK]( https://www.oracle.com/downloads/otn-pub/java/JDK/) >= 1.8 ### 构建与运行 -- Gitee From a3f796515601f5160d5643cfced2c00469ead984 Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 18:15:07 +0800 Subject: [PATCH 5/5] fix quick_start romvre line --- tutorials/lite/source_en/quick_start/quick_start.md | 1 - 1 file changed, 1 deletion(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index c022463906..aaba91a607 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -81,7 +81,6 @@ The following section describes how to build and execute an on-device image clas The mobile phone needs to turn on "USB debugging mode" for Android Studio to recognize the phone. In general, Huawei mobile phones turn on "USB debugging mode" in Settings -> System and Update -> Developer Options -> USB Debugging. - 3. Continue the installation on the Android device. After the installation is complete, you can view the content captured by a camera and the inference result. ![result](../images/lite_quick_start_app_result.png) -- Gitee