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

<!-- TOC -->

- [FAQ](#faq)
    - [Installation](#installation)
        - [Pip Installation](#pip-installation)
        - [Source Code Installation](#source-code-installation)
    - [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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
        - [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/>

Q: What should I do when error prompts during pip install ?

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/>

Q: What should I do if I cannot find whl package for MindInsight or MindArmour for installation ?

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`.

### Source Code Installation

Q: What should I do if the compilation time of MindSpore source code taking too long or the process is constantly interrupted by errors ?

A: MindSpore imports third party dependencies through submodule mechanism, among which `protobuf` v3.8.0 might not have the optimal or steady download speed, we recommend you prepare the protobuf package beforehand via other method.

<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/>

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
Q: What should I do if the software version required by MindSpore is not the same with the Ubuntu default software version ?

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/>

Q: What should I do if there is a prompt `tclsh not found` when I compile MindSpore from source code ?

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

## Support

### Model Support

Q: What types of model is currently supported by MindSpore for training ?

昇思MindSpore's avatar
昇思MindSpore 已提交
71
A: MindSpore has basic support for common training scenarios, please refer to [Release note](https://gitee.com/mindspore/mindspore/blob/r0.3/RELEASE.md) for detailed information.
昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
72

73 74 75 76
<br/>

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

昇思MindSpore's avatar
昇思MindSpore 已提交
77
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/r0.3/mindspore/model_zoo).
78

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
79 80 81 82 83 84 85 86 87 88 89 90
### Backend Support

Q: When install or run MindSpore, are there any requirements for hardwares like GPU, NPU and so forth ?

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

<br/>

Q: Does MindSpore have any plan on supporting other types of heterogeneous computing hardwares ?

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.

91 92 93 94
<br/>

Q: What hardware does MindSpore require?

T
Ting Wang 已提交
95
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/0.3.0-alpha/roadmap.html) and project [Release Notes](https://gitee.com/mindspore/mindspore/blob/r0.3/RELEASE.md).
96 97 98 99 100

### System Support

Q: Does MindSpore support Windows 10?

T
Ting Wang 已提交
101
A: The MindSpore CPU version can be installed on Windows 10. For details about the installation procedure, see tutorials on the [MindSpore official website](https://www.mindspore.cn/tutorial/en/0.3.0-alpha/advanced_use/mindspore_cpu_win_install.html).
102

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
### Programming Language

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 ?

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

<br/>

Q: Does MindSpore plan to support more programming languages other than Python ?

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.

121 122 123 124
<br/>

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

T
Ting Wang 已提交
125
A: Please visit the [MindSpore official website](https://www.mindspore.cn/tutorial/en/0.3.0-alpha/index.html).
126

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
127 128 129 130 131 132
## 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?

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. Currently, inference supports optimization operations, including quantization, operator fusion, and memory overcommitment.

133 134 135 136 137 138 139 140 141 142
<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?

T
Ting Wang 已提交
143
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/0.3.0-alpha/advanced_use/use_on_the_cloud.html) to learn how to train MindSpore models on ModelArts.
144

昇思MindSpore's avatar
add faq  
昇思MindSpore 已提交
145 146 147 148 149
## 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.
150 151 152 153 154

<br/>

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

T
Ting Wang 已提交
155
A: For details about script or model migration, please visit the [MindSpore official website](https://www.mindspore.cn/tutorial/en/0.3.0-alpha/advanced_use/network_migration.html).
156 157 158 159 160 161 162 163 164 165 166 167

<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.