提交 968130b3 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!85 Improve the install documents.

Merge pull request !85 from 李鸿章/install
...@@ -188,6 +188,7 @@ ...@@ -188,6 +188,7 @@
```bash ```bash
git clone https://gitee.com/mindspore/mindinsight.git git clone https://gitee.com/mindspore/mindinsight.git
``` ```
> **不能**直接在仓库主页下载zip包获取源码。
2. 可选择以下任意一种安装方式: 2. 可选择以下任意一种安装方式:
...@@ -201,18 +202,12 @@ ...@@ -201,18 +202,12 @@
(2) 构建whl包进行安装。 (2) 构建whl包进行安装。
进入源码的build目录,执行MindInsight编译脚本 进入源码的根目录,先执行build目录下的MindInsight编译脚本,再执行命令安装output目录下生成的whl包
```bash ```bash
cd mindinsight/build cd mindinsight
bash build.sh bash build/build.sh
``` pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
进入源码的output目录,即可查看生成的MindInsight安装包,执行安装命令。
```bash
cd mindinsight/output
pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
3. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。 3. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。
......
...@@ -187,6 +187,7 @@ If you need to analyze information such as model scalars, graphs, and model trac ...@@ -187,6 +187,7 @@ If you need to analyze information such as model scalars, graphs, and model trac
```bash ```bash
git clone https://gitee.com/mindspore/mindinsight.git git clone https://gitee.com/mindspore/mindinsight.git
``` ```
> You are **not** supposed to obtain the source code from the zip package downloaded from the repository homepage.
2. Install MindInsight by using either of the following installation methods: 2. Install MindInsight by using either of the following installation methods:
...@@ -200,18 +201,14 @@ If you need to analyze information such as model scalars, graphs, and model trac ...@@ -200,18 +201,14 @@ If you need to analyze information such as model scalars, graphs, and model trac
(2) Create a .whl package to install MindInsight. (2) Create a .whl package to install MindInsight.
Access the build directory of the source code and run the MindInsight compilation script. Access the root directory of the source code.
First run the MindInsight compilation script under the build directory of the source code.
Then run the command to install the .whl package generated into the output directory of the source code.
```bash ```bash
cd mindinsight/build cd mindinsight
bash build.sh bash build/build.sh
``` pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
Access the output directory of the source code, where the generated MindInsight installation package is stored, and run the installation command.
```bash
cd mindinsight/output
pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
3. Run the following command. If `web address: http://127.0.0.1:8080` is displayed, the installation is successful. 3. Run the following command. If `web address: http://127.0.0.1:8080` is displayed, the installation is successful.
......
...@@ -151,6 +151,7 @@ ...@@ -151,6 +151,7 @@
```bash ```bash
git clone https://gitee.com/mindspore/mindinsight.git git clone https://gitee.com/mindspore/mindinsight.git
``` ```
> **不能**直接在仓库主页下载zip包获取源码。
2. 可选择以下任意一种安装方式: 2. 可选择以下任意一种安装方式:
...@@ -164,18 +165,12 @@ ...@@ -164,18 +165,12 @@
(2) 构建whl包进行安装。 (2) 构建whl包进行安装。
进入源码的build目录,执行MindInsight编译脚本 进入源码的根目录,先执行build目录下的MindInsight编译脚本,再执行命令安装output目录下生成的whl包
```bash ```bash
cd mindinsight/build cd mindinsight
bash build.sh bash build/build.sh
``` pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
进入源码的output目录,即可查看生成的MindInsight安装包,执行安装命令。
```bash
cd mindinsight/output
pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
3. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。 3. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。
......
...@@ -151,6 +151,7 @@ If you need to analyze information such as model scalars, graphs, and model trac ...@@ -151,6 +151,7 @@ If you need to analyze information such as model scalars, graphs, and model trac
```bash ```bash
git clone https://gitee.com/mindspore/mindinsight.git git clone https://gitee.com/mindspore/mindinsight.git
``` ```
> You are **not** supposed to obtain the source code from the zip package downloaded from the repository homepage.
2. Install MindInsight by using either of the following installation methods: 2. Install MindInsight by using either of the following installation methods:
...@@ -164,18 +165,14 @@ If you need to analyze information such as model scalars, graphs, and model trac ...@@ -164,18 +165,14 @@ If you need to analyze information such as model scalars, graphs, and model trac
(2) Create a .whl package to install MindInsight. (2) Create a .whl package to install MindInsight.
Access the build directory of the source code and run the MindInsight compilation script. Access the root directory of the source code.
First run the MindInsight compilation script under the build directory of the source code.
Then run the command to install the .whl package generated into the output directory of the source code.
```bash ```bash
cd mindinsight/build cd mindinsight
bash build.sh bash build/build.sh
``` pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
Access the output directory of the source code, where the generated MindInsight installation package is stored, and run the installation command.
```bash
cd mindinsight/output
pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
``` ```
3. Run the following command. If `web address: http://127.0.0.1:8080` is displayed, the installation is successful. 3. Run the following command. If `web address: http://127.0.0.1:8080` is displayed, the installation is successful.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册