From 3827aeafe2db3423925af0c7fd5bd7c48e3ee5fa Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 15:16:06 +0800 Subject: [PATCH 1/3] fix some translations om quick_start on branch master --- lite/tutorials/source_en/quick_start/quick_start.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lite/tutorials/source_en/quick_start/quick_start.md b/lite/tutorials/source_en/quick_start/quick_start.md index 34d8d9aa7f..aca67dcebe 100644 --- a/lite/tutorials/source_en/quick_start/quick_start.md +++ b/lite/tutorials/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 4c9052dee7d302319141621120e408827b018dd9 Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 18:24:02 +0800 Subject: [PATCH 2/3] remove jdk link on branch master --- lite/tutorials/source_zh_cn/quick_start/quick_start.md | 1 - 1 file changed, 1 deletion(-) diff --git a/lite/tutorials/source_zh_cn/quick_start/quick_start.md b/lite/tutorials/source_zh_cn/quick_start/quick_start.md index 046ea3cabf..53e9306f16 100644 --- a/lite/tutorials/source_zh_cn/quick_start/quick_start.md +++ b/lite/tutorials/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 b7b32cce771c5c8d794257becb0ae1dc5cb5df8e Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 18:27:02 +0800 Subject: [PATCH 3/3] remove jdk link --- lite/tutorials/source_en/quick_start/quick_start.md | 1 - 1 file changed, 1 deletion(-) diff --git a/lite/tutorials/source_en/quick_start/quick_start.md b/lite/tutorials/source_en/quick_start/quick_start.md index aca67dcebe..4c2cf51b7d 100644 --- a/lite/tutorials/source_en/quick_start/quick_start.md +++ b/lite/tutorials/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