diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index e681d038d..8ab170205 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -793,7 +793,7 @@ debug=调试 debug_again=再次调试 stop=停止 delete=删除 -model_download=模型下载 +model_download=结果下载 submit_image=提交镜像 download=模型下载 diff --git a/templates/repo/modelarts/inferencejob/index.tmpl b/templates/repo/modelarts/inferencejob/index.tmpl index e7050dccf..cf56422be 100644 --- a/templates/repo/modelarts/inferencejob/index.tmpl +++ b/templates/repo/modelarts/inferencejob/index.tmpl @@ -53,7 +53,9 @@ {{if $.RepoIsEmpty}}
代码版本:您还没有初始化代码仓库,请先创建代码版本;
{{end}} -
模型文件:您还没有模型文件,请先通过训练任务产生并导出模型;
+ {{if eq 0 $.MODEL_COUNT}} +
模型文件:您还没有模型文件,请先通过训练任务产生并 导出模型
+ {{end}}
数据集:云脑1提供 CPU / GPU 资源,云脑2提供 Ascend NPU 资源,调试使用的数据集也需要上传到对应的环境;
使用说明:可以参考启智AI协作平台小白训练营课程。
@@ -158,11 +160,11 @@ {{$.CsrfTokenHtml}} {{if .CanModify}} - {{$.i18n.Tr "repo.download"}} + {{$.i18n.Tr "repo.model_download"}} {{else}} - {{$.i18n.Tr "repo.download"}} + {{$.i18n.Tr "repo.model_download"}} {{end}} diff --git a/templates/repo/modelarts/inferencejob/new.tmpl b/templates/repo/modelarts/inferencejob/new.tmpl index 5b0411dea..cd801d9b4 100644 --- a/templates/repo/modelarts/inferencejob/new.tmpl +++ b/templates/repo/modelarts/inferencejob/new.tmpl @@ -59,7 +59,7 @@

{{.i18n.Tr "repo.modelarts.train_job.basic_info"}}:

- + 请输入只包含大小写字母、数字、_和-,最长36个字符。
@@ -80,9 +80,8 @@
{{$.model_name}}
{{else}} -
选择项目下的模型
+
{{end}} - @@ -95,7 +94,7 @@
{{$.model_version}}
{{else}} -
选择版本
+
{{end}}