You can install MindSpore Insight either by pip or by source code or by Docker.
Install from PyPI:
pip install mindinsight
Install with customized version:
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindInsight/any/mindinsight-{version}-py3-none-any.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
- When the network is connected, dependency items are automatically downloaded during .whl package installation. (For details about other dependency items, see requirements.txt). In other cases, you need to manually install dependency items.
{version}
denotes the version of MindSpore Insight. For example, when you are downloading MindSpore Insight 1.3.0,{version}
should be 1.3.0.- MindSpore Insight supports only Linux distro with x86 architecture 64-bit or ARM architecture 64-bit.
git clone https://gitee.com/mindspore/mindinsight.git -b r2.0
You can choose any of the following installation methods:
Run the following command in the root directory of the source code:
cd mindinsight
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
python setup.py install
Build the whl
package for installation.
Enter the root directory of the source code, first execute the MindSpore Insight compilation script in the build
directory, and then execute the command to install the whl
package generated in the output
directory.
cd mindinsight
bash build/build.sh
pip install output/mindinsight-{version}-py3-none-any.whl -i https://pypi.tuna.tsinghua.edu.cn/simple
The MindSpore image contains the MindSpore Insight function. For details, see the Installation Guide on the official website.
Execute the following command:
mindinsight start
If it prompts the following information, the installation is successful:
Web address: http://127.0.0.1:8080
service start state: success
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。