diff --git a/install/mindspore_d_install.md b/install/mindspore_d_install.md index 43694674fa1875e9a12d2a4439c6156f606252b3..c52add9e4c2d89a500507c01349a1f3e565ff631 100644 --- a/install/mindspore_d_install.md +++ b/install/mindspore_d_install.md @@ -188,6 +188,7 @@ ```bash git clone https://gitee.com/mindspore/mindinsight.git ``` + > **不能**直接在仓库主页下载zip包获取源码。 2. 可选择以下任意一种安装方式: @@ -201,18 +202,12 @@ (2) 构建whl包进行安装。 - 进入源码的build目录,执行MindInsight编译脚本。 + 进入源码的根目录,先执行build目录下的MindInsight编译脚本,再执行命令安装output目录下生成的whl包。 ```bash - cd mindinsight/build - bash build.sh - ``` - - 进入源码的output目录,即可查看生成的MindInsight安装包,执行安装命令。 - - ```bash - cd mindinsight/output - pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl + cd mindinsight + bash build/build.sh + pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl ``` 3. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。 diff --git a/install/mindspore_d_install_en.md b/install/mindspore_d_install_en.md index 93da07566913790f47916c895341ac96da5e414f..634ab758dc7ed20b734db94cbb8673e34d307f3e 100644 --- a/install/mindspore_d_install_en.md +++ b/install/mindspore_d_install_en.md @@ -187,6 +187,7 @@ If you need to analyze information such as model scalars, graphs, and model trac ```bash 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: @@ -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. - 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 - cd mindinsight/build - bash build.sh - ``` - - 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 + cd mindinsight + bash build/build.sh + pip install output/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. diff --git a/install/mindspore_gpu_install.md b/install/mindspore_gpu_install.md index 37ca6a66c92eabddd968f390a063eb53275cd0dc..e0645982e6646c2e5d6fc61bfbd56e4f2b7bfd06 100644 --- a/install/mindspore_gpu_install.md +++ b/install/mindspore_gpu_install.md @@ -151,6 +151,7 @@ ```bash git clone https://gitee.com/mindspore/mindinsight.git ``` + > **不能**直接在仓库主页下载zip包获取源码。 2. 可选择以下任意一种安装方式: @@ -164,18 +165,12 @@ (2) 构建whl包进行安装。 - 进入源码的build目录,执行MindInsight编译脚本。 + 进入源码的根目录,先执行build目录下的MindInsight编译脚本,再执行命令安装output目录下生成的whl包。 ```bash - cd mindinsight/build - bash build.sh - ``` - - 进入源码的output目录,即可查看生成的MindInsight安装包,执行安装命令。 - - ```bash - cd mindinsight/output - pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl + cd mindinsight + bash build/build.sh + pip install output/mindinsight-{version}-cp37-cp37m-linux_{arch}.whl ``` 3. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。 diff --git a/install/mindspore_gpu_install_en.md b/install/mindspore_gpu_install_en.md index 94e1480fa2ebd547eb73388d76e30041fb82df92..eb2828117e29c753fa75df04543bd3c5457fd6aa 100644 --- a/install/mindspore_gpu_install_en.md +++ b/install/mindspore_gpu_install_en.md @@ -151,6 +151,7 @@ If you need to analyze information such as model scalars, graphs, and model trac ```bash 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: @@ -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. - 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 - cd mindinsight/build - bash build.sh - ``` - - 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 + cd mindinsight + bash build/build.sh + pip install output/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.