diff --git a/figures/mstdio000.png b/figures/mstdio000.png new file mode 100644 index 0000000000000000000000000000000000000000..e8d25a81588c54a1508ff58f9fc574648c156b7d Binary files /dev/null and b/figures/mstdio000.png differ diff --git a/figures/mstdio001.png b/figures/mstdio001.png new file mode 100644 index 0000000000000000000000000000000000000000..02538b8a77dc299185abca90f737d073eef9f4fe Binary files /dev/null and b/figures/mstdio001.png differ diff --git a/figures/mstdio002.png b/figures/mstdio002.png new file mode 100644 index 0000000000000000000000000000000000000000..976ba2e6b2754e4549b4ee6cde7c4707f60c13b8 Binary files /dev/null and b/figures/mstdio002.png differ diff --git a/figures/mstdio004.png b/figures/mstdio004.png new file mode 100644 index 0000000000000000000000000000000000000000..412b973d775d22c2010b87d7524a8348fa441fa4 Binary files /dev/null and b/figures/mstdio004.png differ diff --git a/figures/mstdio005.png b/figures/mstdio005.png new file mode 100644 index 0000000000000000000000000000000000000000..9b9cd807b0033f17f6328df03e4c78eb543a1868 Binary files /dev/null and b/figures/mstdio005.png differ diff --git a/figures/mstdio007.png b/figures/mstdio007.png new file mode 100644 index 0000000000000000000000000000000000000000..521b4260474ed152bac67d09463d787da3a39937 Binary files /dev/null and b/figures/mstdio007.png differ diff --git a/figures/mstdio008.png b/figures/mstdio008.png new file mode 100644 index 0000000000000000000000000000000000000000..2bb7a89b9e92203bb47952a6cb3e7d6cc88dae90 Binary files /dev/null and b/figures/mstdio008.png differ diff --git "a/pytorch-train-guide/mindstdio\344\275\277\347\224\250\346\214\207\345\257\274.md" "b/pytorch-train-guide/mindstdio\344\275\277\347\224\250\346\214\207\345\257\274.md" new file mode 100644 index 0000000000000000000000000000000000000000..4b0dd09fb10a9c5dcabb3132ce8f3d1d38c2ff1e --- /dev/null +++ "b/pytorch-train-guide/mindstdio\344\275\277\347\224\250\346\214\207\345\257\274.md" @@ -0,0 +1,53 @@ +# MindStdio安装使用指导 + +## 安装 + +这里推荐直接使用官网指导的方式安装,当前使用的指导版本是 3.0.1 + +```bash +https://support.huaweicloud.com/usermanual-mindstudio301/atlasms_02_0307.html +``` + +## 应用示例 + +1. 执行 bash MindStiod/bin/MIndstdio.sh 开始执行使用IDE + +2. 检查自己的环境中是否有python的SDK + + 在 File--Project Structrue--SDK中查看 + +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/mstdio000.png) + +如果没有则使用如下方法安装 + +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/mstdio001.png) + +3.新建一个自己的工程这里我们选择已经存在的工程 + +位置如图所示根据实际情况选择你项目所在的目录 + +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/mstdio007.png) + +4.为工程配置解释器,环境变量和入参 + +环境变量原本在命令行中写为 + +```bash +export AICPU=/usr/local/Ascend/leaste +``` + +这样的格式,在MindStido中需要配置在Mindstio中,以图中的Name和Value的方式呈现 + +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/mstdio002.png) + +而对于原本要写的参数则写在这个位置 + +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/mstdio004.png) + +配置后点击run的箭头就可以开始调试 + +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/mstdio008.png) + +5.期间若需要对命令行做其他操作可以使用 Alt+F12打开命令行 + +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/mstdio005.png) \ No newline at end of file