From 7adbda8f395736fac685887b012e2398b8fff6c4 Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 19:12:12 +0800 Subject: [PATCH] fix some translations and remove jdk links on quick_start on branch master --- lite/tutorials/source_en/quick_start/quick_start.md | 9 ++++----- lite/tutorials/source_zh_cn/quick_start/quick_start.md | 3 +-- 2 files changed, 5 insertions(+), 7 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..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 @@ -80,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 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 +178,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 +186,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 +265,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/lite/tutorials/source_zh_cn/quick_start/quick_start.md b/lite/tutorials/source_zh_cn/quick_start/quick_start.md index 046ea3cabf..7c51db2c1e 100644 --- a/lite/tutorials/source_zh_cn/quick_start/quick_start.md +++ b/lite/tutorials/source_zh_cn/quick_start/quick_start.md @@ -54,8 +54,7 @@ MindSpore Model Zoo中图像分类模型可[在此下载](https://download.minds - Android Studio >= 3.2 (推荐4.0以上版本) - 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 +- Android SDK >= 26 ### 构建与运行 -- Gitee