From 00264e0ec71e75f70a2417a748132e4e2f17e99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=BA=90=E6=98=8E?= <1021955028@qq.com> Date: Tue, 27 Jul 2021 13:10:25 +0000 Subject: [PATCH] =?UTF-8?q?update=20modelArts=E4=BD=BF=E7=94=A8=E6=8C=87?= =?UTF-8?q?=E5=8D=97.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...77\347\224\250\346\214\207\345\215\227.md" | 38 ++++++++----------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git "a/modelArts\344\275\277\347\224\250\346\214\207\345\215\227.md" "b/modelArts\344\275\277\347\224\250\346\214\207\345\215\227.md" index c3cd771..f0b4af6 100644 --- "a/modelArts\344\275\277\347\224\250\346\214\207\345\215\227.md" +++ "b/modelArts\344\275\277\347\224\250\346\214\207\345\215\227.md" @@ -14,9 +14,9 @@ https://ascendhub.huawei.com/#/index ``` -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_ascendmodel.png) -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_as002.png) 点击下载会提示你使用docker pull和push @@ -24,15 +24,15 @@ https://ascendhub.huawei.com/#/index -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_as003.png) -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_dockerPull.png) 可能存在如下报错,需要重新,在页面上点击下获取,然后再pull -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_doc003.png) 3.登陆华为云容器服务,点击客户端上传,根据需求给第二步下载镜像改名用docker tag命令改名 @@ -40,19 +40,19 @@ https://ascendhub.huawei.com/#/index https://console.huaweicloud.com/swr/?region=cn-east-3#/app/dashboard ``` -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_tag001.png) 这里若自己还未存在组织,点击下方请上传,建立一个组织 -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_tag002.png) -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_tag003.png) 4.上传第二步获取的docker镜像 -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_dockerPush.png) ## 准备2 获取一个modelzoo上能用的模型源码 @@ -62,21 +62,21 @@ https://console.huaweicloud.com/swr/?region=cn-east-3#/app/dashboard https://www.hiascend.com/software/modelzoo ``` -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_m001.png) 下载脚本,这里重打创建作业处有说明命令使用方式,后面我们会用上。 -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_m003.png) ## 准备3 上传模型的脚本和所需的数据集 1.若没有安装obs,安装obs,在华为云中搜索obs可以下载。使用华为云账号登陆。 -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_ob001.png) 2. 创建桶分别上传模型脚本和数据集,这里我使用的是公共路径obs的数据集,所以没有单独上传数据集 -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_ob002.png) ## 创建modelArts训练任务 @@ -88,13 +88,13 @@ https://www.hiascend.com/software/modelzoo 选择创建 -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_arts001.png) 配置如下图 -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_arts002.png) -Image_txt +![](https://gitee.com/wangjiangben_hw/ascend-pytorch-crowdintelligence-doc/raw/master/figures/Arts_arts003.png) 这里的运行命令如下作为参考 @@ -118,9 +118,3 @@ https://www.hiascend.com/software/modelzoo - - - - - - -- Gitee