FAQ_en.md 8.0 KB
Newer Older
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
1 2 3 4 5 6 7
# FAQ

<!-- TOC -->

- [FAQ](#faq)
    - [Installation](#installation)
        - [Pip Installation](#pip-installation)
8
        - [Source Code Compilation Installation](#source-code-compilation-installation)
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
9 10 11
    - [Support](#support)
        - [Model Support](#model-support)
        - [Backend Support](#backend-support)
12
        - [System Support](#system-support)
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
        - [Programming Language](#programming-language)
        - [Others](#others)
    - [Features](#features)
    - [Capabilities](#capabilities)

<!-- /TOC -->

## Installation

### Pip Installation

Q: Any specific requirements for Python version when pip install MindSpore?

A: MindSpore utilizes many of the new features in Python3.7+,therefore we recommend you add Python3.7.5 develop environment via `conda`.

<br/>

Y
yingchen 已提交
30
Q: What should I do when error prompts during pip install?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
31 32 33 34 35 36

A: Please execute `pip -V` to check if pip is linked to Python3.7+. If not, we recommend you
use `python3.7 -m pip install` instead of `pip install` command.

<br/>

Y
yingchen 已提交
37
Q: What should I do if I cannot find whl package for MindInsight or MindArmour on the installation page of MindSpore website?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
38 39 40

A: You can download whl package from the official [MindSpore Website download page](https://www.mindspore.cn/versions) and manually install it via `pip install`.

41
### Source Code Compilation Installation
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
42

Y
yingchen 已提交
43
Q: What should I do if the compilation time of MindSpore source code takes too long or the process is constantly interrupted by errors?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
44

45
A: MindSpore imports third party dependencies through submodule mechanism, among which `protobuf` v3.8.0 might not have the optimal or steady download speed, it is recommended that you perform package cache in advance.
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
46 47 48

<br/>

49 50 51 52 53 54
Q: How to change installation directory of the third party libraries?

A: The third party libraries will be installed in build/mindspore/.mslib, you can change the installation directory by setting the environment variable MSLIBS_CACHE_PATH, eg. `export MSLIBS_CACHE_PATH = ~/.mslib`.

<br/>

Y
yingchen 已提交
55
Q: What should I do if the software version required by MindSpore is not the same with the Ubuntu default software version?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
56 57 58 59 60

A: At the moment some software might need manual upgrade. (**Note**:MindSpore requires Python3.7.5 and gcc7.3,the default version in Ubuntu 16.04 are Python3.5 and gcc5,whereas the one in Ubuntu 18.04 are Python3.7.3 and gcc7.4)

<br/>

Y
yingchen 已提交
61
Q: What should I do if there is a prompt `tclsh not found` when I compile MindSpore from source code?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
62 63 64

A: Please install the software manually if there is any suggestion of certain `software not found`.

昇思MindSpore's avatar
fix FAQ  
昇思MindSpore 已提交
65 66 67 68 69 70
<br/>

Q: What should I do if prompt message is that the directory path has Chinese garbled code when I compile MindSpore from source code in Windows system?

A: Please change the Chinese directory to English, and make sure there are no Chinese characters in the directory.

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
71 72 73 74
## Support

### Model Support

Y
yingchen 已提交
75
Q: What types of model is currently supported by MindSpore for training?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
76 77 78

A: MindSpore has basic support for common training scenarios, please refer to [Release note](https://gitee.com/mindspore/mindspore/blob/master/RELEASE.md) for detailed information.

79 80 81 82
<br/>

Q: What are the available recommendation or text generation networks or models provided by MindSpore?

T
Ting Wang 已提交
83
A: Currently, recommendation models such as Wide & Deep, DeepFM, and NCF are under development. In the natural language processing (NLP) field, Bert\_NEZHA is available and models such as MASS are under development. You can rebuild the network into a text generation network based on the scenario requirements. Please stay tuned for updates on the [MindSpore Model Zoo](https://gitee.com/mindspore/mindspore/tree/master/model_zoo).
84

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
85 86
### Backend Support

Y
yingchen 已提交
87
Q: When install or run MindSpore, are there any requirements for hardwares like GPU, NPU and so forth?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
88 89 90 91 92

A: MindSpore currently supports Ascend AI processor, CPU and GPU。For common models like lenet you can try run MindSpore on CPU alone.

<br/>

Y
yingchen 已提交
93
Q: Does MindSpore have any plan on supporting other types of heterogeneous computing hardwares?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
94 95 96

A: MindSpore provides pluggable device management interface so that developer could easily integrate other types of heterogeneous computing hardwares like FPGA to MindSpore. We welcome more backend support in MindSpore from the community.

97 98 99 100 101 102 103 104 105 106
<br/>

Q: What hardware does MindSpore require?

A: Currently, you can try out MindSpore through Docker images on laptops or in environments with GPUs. Some models in MindSpore Model Zoo support GPU-based training and inference, and other models are being improved. For distributed parallel training, MindSpore supports multi-GPU training. You can obtain the latest information from [RoadMap](https://www.mindspore.cn/docs/en/master/roadmap.html) and project [Release Notes](https://gitee.com/mindspore/mindspore/blob/master/RELEASE.md).

### System Support

Q: Does MindSpore support Windows 10?

J
JunYuLiu 已提交
107
A: The MindSpore CPU version can be installed on Windows 10.
108

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
109 110
### Programming Language

Y
yingchen 已提交
111
Q: The recent announced programming language such as taichi got Python extensions that could be directly used as `import taichi as ti`. Does MindSpore have similar support?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
112 113 114 115 116

A: MindSpore supports Python native expression via `import mindspore`

<br/>

Y
yingchen 已提交
117
Q: Does MindSpore plan to support more programming languages other than Python?
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
118 119 120 121 122 123 124 125 126

A:MindSpore currently supports Python extensions,bindings for languages like C++、Rust、Julia are on the way.

### Others

Q: How does MindSpore implement semantic collaboration and processing? Is the popular Formal Concept Analysis (FCA) used?

A: The MindSpore framework does not support FCA. For semantic models, you can call third-party tools to perform FCA in the data preprocessing phase. MindSpore supports Python therefore `import FCA` could do the trick.

127 128 129 130 131 132
<br/>

Q: Where can I view the sample code or tutorial of MindSpore training and inference?

A: Please visit the [MindSpore official website](https://www.mindspore.cn/tutorial/en/master/index.html).

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
133 134 135 136
## Features

Q: Does MindSpore have any plan or consideration on the edge and device when the training and inference functions on the cloud are relatively mature?

137
A: MindSpore is a unified cloud-edge-device training and inference framework. Edge has been considered in its design, so MindSpore can perform inference at the edge. The open-source version will support Ascend 310-based inference. The optimizations supported in the current inference stage include quantization, operator fusion, and memory overcommitment.
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
138

139 140 141 142 143 144 145 146 147 148 149 150
<br/>

Q: How does MindSpore support automatic parallelism?

A: Automatic parallelism on CPUs and GPUs are being improved. You are advised to use the automatic parallelism feature on the Ascend 910 AI processor. Follow our open source community and apply for a MindSpore developer experience environment for trial use.

<br/>

Q: What is the relationship between MindSpore and ModelArts? Can MindSpore be used on ModelArts?

A: ModelArts is an online training and inference platform on HUAWEI CLOUD. MindSpore is a Huawei deep learning framework. You can view the tutorials on the [MindSpore official website](https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/use_on_the_cloud.html) to learn how to train MindSpore models on ModelArts.

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
151 152 153 154 155
## Capabilities

Q: Does MindSpore have a module that can implement object detection algorithms as TensorFlow does?

A: The TensorFlow's object detection pipeline API belongs to the TensorFlow's Model module. After MindSpore's detection models are complete, similar pipeline APIs will be provided.
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173

<br/>

Q: How do I migrate scripts or models of other frameworks to MindSpore?

A: For details about script or model migration, please visit the [MindSpore official website](https://www.mindspore.cn/tutorial/en/master/advanced_use/network_migration.html).

<br/>

Q: Does MindSpore provide open-source e-commerce datasets?

A: No. Please stay tuned for updates on the [MindSpore official website](https://www.mindspore.cn/en).

<br/>

Q: How simple can the MindSpore model training code be?

A: MindSpore provides Model APIs except for network definitions. In most scenarios, model training can be completed using only a few lines of code.