提交 710dc7a2 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!18 Add Installing Using Executable Files

Merge pull request !18 from TingWang/update-install
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
- [系统要求和软件依赖](#系统要求和软件依赖) - [系统要求和软件依赖](#系统要求和软件依赖)
- [Conda安装(可选)](#conda安装可选) - [Conda安装(可选)](#conda安装可选)
- [安装指南](#安装指南) - [安装指南](#安装指南)
- [通过可执行文件安装](#通过可执行文件安装)
- [从源码编译安装](#从源码编译安装) - [从源码编译安装](#从源码编译安装)
- [安装MindArmour](#安装mindarmour) - [安装MindArmour](#安装mindarmour)
...@@ -42,6 +43,20 @@ ...@@ -42,6 +43,20 @@
## 安装指南 ## 安装指南
### 通过可执行文件安装
1.[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。
```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl
```
2. 执行如下命令,如果没有提示`No module named 'mindspore'`等加载错误的信息,则说明安装成功。
```bash
python -c 'import mindspore'
```
### 从源码编译安装 ### 从源码编译安装
1. 从代码仓下载源码。 1. 从代码仓下载源码。
...@@ -88,6 +103,20 @@ ...@@ -88,6 +103,20 @@
## 安装指南 ## 安装指南
### 通过可执行文件安装
1.[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindArmour。
```bash
pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl
```
2. 执行如下命令,如果没有提示`No module named 'mindarmour'`等加载错误的信息,则说明安装成功。
```bash
python -c 'import mindarmour'
```
### 从源码编译安装 ### 从源码编译安装
1. 从代码仓下载源码。 1. 从代码仓下载源码。
......
...@@ -9,6 +9,7 @@ This document describes how to quickly install MindSpore on a CPU environment. ...@@ -9,6 +9,7 @@ This document describes how to quickly install MindSpore on a CPU environment.
- [System Requirements and Software Dependencies](#system-requirements-and-software-dependencies) - [System Requirements and Software Dependencies](#system-requirements-and-software-dependencies)
- [(Optional) Installing Conda](#optional-installing-conda) - [(Optional) Installing Conda](#optional-installing-conda)
- [Installation Guide](#installation-guide) - [Installation Guide](#installation-guide)
- [Installing Using Executable Files](#installing-using-executable-files)
- [Installing Using the Source Code](#installing-using-the-source-code) - [Installing Using the Source Code](#installing-using-the-source-code)
- [Installing MindArmour](#installing-mindarmour) - [Installing MindArmour](#installing-mindarmour)
...@@ -42,6 +43,20 @@ This document describes how to quickly install MindSpore on a CPU environment. ...@@ -42,6 +43,20 @@ This document describes how to quickly install MindSpore on a CPU environment.
## Installation Guide ## Installation Guide
### Installing Using Executable Files
1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindSpore:
```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl
```
2. Run the following command. If no loading error message such as `No module named 'mindspore'` is displayed, the installation is successful.
```bash
python -c 'import mindspore'
```
### Installing Using the Source Code ### Installing Using the Source Code
1. Download the source code from the code repository. 1. Download the source code from the code repository.
...@@ -88,6 +103,20 @@ If you need to conduct AI model security research or enhance the security of the ...@@ -88,6 +103,20 @@ If you need to conduct AI model security research or enhance the security of the
## Installation Guide ## Installation Guide
### Installing Using Executable Files
1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindArmour:
```bash
pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl
```
2. Run the following command. If no loading error message such as `No module named 'mindarmour'` is displayed, the installation is successful.
```bash
python -c 'import mindarmour'
```
### Installing Using the Source Code ### Installing Using the Source Code
1. Download the source code from the code repository. 1. Download the source code from the code repository.
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
- [Conda安装(可选)](#conda安装可选) - [Conda安装(可选)](#conda安装可选)
- [配套软件包依赖配置](#配套软件包依赖配置) - [配套软件包依赖配置](#配套软件包依赖配置)
- [安装指南](#安装指南) - [安装指南](#安装指南)
- [通过可执行文件安装](#通过可执行文件安装)
- [从源码编译安装](#从源码编译安装) - [从源码编译安装](#从源码编译安装)
- [配置环境变量](#配置环境变量) - [配置环境变量](#配置环境变量)
- [安装验证](#安装验证) - [安装验证](#安装验证)
...@@ -65,6 +66,14 @@ ...@@ -65,6 +66,14 @@
## 安装指南 ## 安装指南
### 通过可执行文件安装
-[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。
```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl
```
### 从源码编译安装 ### 从源码编译安装
必须在Ascend 910 AI处理器的环境上进行编译安装。 必须在Ascend 910 AI处理器的环境上进行编译安装。
...@@ -156,6 +165,20 @@ ...@@ -156,6 +165,20 @@
## 安装指南 ## 安装指南
### 通过可执行文件安装
1.[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindInsight。
```bash
pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
```
2. 执行如下命令,如果提示`web address: http://127.0.0.1:8080`,则说明安装成功。
```bash
mindinsight start
```
### 从源码编译安装 ### 从源码编译安装
1. 从代码仓下载源码。 1. 从代码仓下载源码。
...@@ -212,6 +235,20 @@ ...@@ -212,6 +235,20 @@
## 安装指南 ## 安装指南
### 通过可执行文件安装
1.[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindArmour。
```bash
pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl
```
2. 执行如下命令,如果没有提示`No module named 'mindarmour'`等加载错误的信息,则说明安装成功。
```bash
python -c 'import mindarmour'
```
### 从源码编译安装 ### 从源码编译安装
1. 从代码仓下载源码。 1. 从代码仓下载源码。
......
...@@ -11,6 +11,7 @@ This document describes how to quickly install MindSpore on an Ascend AI process ...@@ -11,6 +11,7 @@ This document describes how to quickly install MindSpore on an Ascend AI process
- [(Optional) Installing Conda](#optional-installing-conda) - [(Optional) Installing Conda](#optional-installing-conda)
- [Configuring software package Dependencies](#configuring-software-package-dependencies) - [Configuring software package Dependencies](#configuring-software-package-dependencies)
- [Installation Guide](#installation-guide) - [Installation Guide](#installation-guide)
- [Installing Using Executable Files](#installing-using-executable-files)
- [Installing Using the Source Code](#installing-using-the-source-code) - [Installing Using the Source Code](#installing-using-the-source-code)
- [Configuring Environment Variables](#configuring-environment-variables) - [Configuring Environment Variables](#configuring-environment-variables)
- [Installation Verification](#installation-verification) - [Installation Verification](#installation-verification)
...@@ -64,6 +65,14 @@ This document describes how to quickly install MindSpore on an Ascend AI process ...@@ -64,6 +65,14 @@ This document describes how to quickly install MindSpore on an Ascend AI process
## Installation Guide ## Installation Guide
### Installing Using Executable Files
- Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindSpore:
```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl
```
### Installing Using the Source Code ### Installing Using the Source Code
The compilation and installation must be performed on the Ascend 910 AI processor environment. The compilation and installation must be performed on the Ascend 910 AI processor environment.
...@@ -155,6 +164,20 @@ If you need to analyze information such as model scalars, graphs, and model trac ...@@ -155,6 +164,20 @@ If you need to analyze information such as model scalars, graphs, and model trac
## Installation Guide ## Installation Guide
### Installing Using Executable Files
1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindInsight:
```bash
pip install mindinsight-{version}-cp37-cp37m-linux_{arch}.whl
```
2. Run the following command. If `web address: http://127.0.0.1:8080` is displayed, the installation is successful.
```bash
mindinsight start
```
### Installing Using the Source Code ### Installing Using the Source Code
1. Download the source code from the code repository. 1. Download the source code from the code repository.
...@@ -211,6 +234,20 @@ If you need to conduct AI model security research or enhance the security of the ...@@ -211,6 +234,20 @@ If you need to conduct AI model security research or enhance the security of the
## Installation Guide ## Installation Guide
### Installing Using Executable Files
1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindArmour:
```bash
pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl
```
2. Run the following command. If no loading error message such as `No module named 'mindarmour'` is displayed, the installation is successful.
```bash
python -c 'import mindarmour'
```
### Installing Using the Source Code ### Installing Using the Source Code
1. Download the source code from the code repository. 1. Download the source code from the code repository.
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
- [系统要求和软件依赖](#系统要求和软件依赖) - [系统要求和软件依赖](#系统要求和软件依赖)
- [Conda安装(可选)](#conda安装可选) - [Conda安装(可选)](#conda安装可选)
- [安装指南](#安装指南) - [安装指南](#安装指南)
- [通过可执行文件安装](#通过可执行文件安装)
- [从源码编译安装](#从源码编译安装) - [从源码编译安装](#从源码编译安装)
- [安装验证](#安装验证) - [安装验证](#安装验证)
- [安装MindArmour](#安装mindarmour) - [安装MindArmour](#安装mindarmour)
...@@ -48,6 +49,14 @@ ...@@ -48,6 +49,14 @@
## 安装指南 ## 安装指南
### 通过可执行文件安装
-[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindSpore。
```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl
```
### 从源码编译安装 ### 从源码编译安装
1. 从代码仓下载源码。 1. 从代码仓下载源码。
...@@ -119,6 +128,20 @@ ...@@ -119,6 +128,20 @@
## 安装指南 ## 安装指南
### 通过可执行文件安装
1.[MindSpore网站下载地址](https://www.mindspore.cn/versions)下载whl包,建议先进行SHA-256完整性校验,执行如下命令安装MindArmour。
```bash
pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl
```
2. 执行如下命令,如果没有提示`No module named 'mindarmour'`等加载错误的信息,则说明安装成功。
```bash
python -c 'import mindarmour'
```
### 从源码编译安装 ### 从源码编译安装
1. 从代码仓下载源码。 1. 从代码仓下载源码。
......
...@@ -10,6 +10,7 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ ...@@ -10,6 +10,7 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ
- [System Requirements and Software Dependencies](#system-requirements-and-software-dependencies) - [System Requirements and Software Dependencies](#system-requirements-and-software-dependencies)
- [(Optional) Installing Conda](#optional-installing-conda) - [(Optional) Installing Conda](#optional-installing-conda)
- [Installation Guide](#installation-guide) - [Installation Guide](#installation-guide)
- [Installing Using Executable Files](#installing-using-executable-files)
- [Installing Using the Source Code](#installing-using-the-source-code) - [Installing Using the Source Code](#installing-using-the-source-code)
- [Installation Verification](#installation-verification) - [Installation Verification](#installation-verification)
- [Installing MindArmour](#installing-mindarmour) - [Installing MindArmour](#installing-mindarmour)
...@@ -48,6 +49,14 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ ...@@ -48,6 +49,14 @@ This document describes how to quickly install MindSpore on a NVIDIA GPU environ
## Installation Guide ## Installation Guide
### Installing Using Executable Files
- Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindSpore:
```bash
pip install mindspore-{version}-cp37-cp37m-linux_{arch}.whl
```
### Installing Using the Source Code ### Installing Using the Source Code
1. Download the source code from the code repository. 1. Download the source code from the code repository.
...@@ -119,6 +128,20 @@ If you need to conduct AI model security research or enhance the security of the ...@@ -119,6 +128,20 @@ If you need to conduct AI model security research or enhance the security of the
## Installation Guide ## Installation Guide
### Installing Using Executable Files
1. Download the .whl package from the [MindSpore website](https://www.mindspore.cn/versions/en). It is recommended to perform SHA-256 integrity verification first and run the following command to install MindArmour:
```bash
pip install mindarmour-{version}-cp37-cp37m-linux_{arch}.whl
```
2. Run the following command. If no loading error message such as `No module named 'mindarmour'` is displayed, the installation is successful.
```bash
python -c 'import mindarmour'
```
### Installing Using the Source Code ### Installing Using the Source Code
1. Download the source code from the code repository. 1. Download the source code from the code repository.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册