diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index e5ca6a9a0..625878ac1 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1243,6 +1243,44 @@ model.convert=Model Transformation model.list=Model List model.manage.create_new_convert_task=Create Model Transformation Task +model.manage.notcreatemodel=No model has been created. +model.manage.init1=Code version: You have not initialized the code repository, please +model.manage.init2=initialized first ; +model.manage.createtrainjob_tip=Training task: you haven't created a training task, please create it first +model.manage.createtrainjob=Training task +model.manage.delete=Delete Model +model.manage.delete_confirm=Are you sure to delete this model? Once this model is deleted, it cannot be restored. +model.manage.select.trainjob=Select train task +model.manage.select.version=Select version +model.manage.engine=Model engine +model.manage.select.engine=Select model engine +model.manage.modelfile=Model file +model.manage.modellabel=Model label +model.manage.modeldesc=Model description +model.manage.baseinfo=Base Information +modelconvert.notcreate=No model conversion task has been created. +modelconvert.importfirst1=Please import first +modelconvert.importfirst2=download model +modelconvert.importfirst3=, then converts it. +modelconvert.download=Download +modelconvert.taskname=Task name +modelconvert.modelname=Model name +modelconvert.selectmodel=Select model +modelconvert.modelversion=Model version +modelconvert.selectversion=Select version +modelconvert.selectmodelfile=Select model file +modelconvert.taskstatus=Status +modelconvert.srcengine=Source model engine +modelconvert.outputformat=Output format +modelconvert.createtime=Created time +modelconvert.inputdataformat=Input data format +modelconvert.inputshape=Input tensor shape +modelconvert.inputshapetip=For example: 1,1,32,32, corresponding to the input data format. +modelconvert.netoutputdata=Network output data type +modelconvert.taskdesc=Task description +modelconvert.newtask=New +modelconvert.createtask=Create model conversion task + modelconvert.manage.create_error1=A model transformation task with the same name already exists. modelconvert.manage.create_error2=Only one running model transformation task can be created. modelconvert.manage.model_not_exist=The model does not exist. diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 8ee4a8ff1..b864a1fca 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -1263,8 +1263,36 @@ model.manage.createtrainjob_tip=训练任务:您还没创建过训练任务, model.manage.createtrainjob=训练任务 model.manage.delete=删除模型 model.manage.delete_confirm=你确认删除该模型么?此模型一旦删除不可恢复。 - model.manage.select.trainjob=选择训练任务 +model.manage.select.version=选择版本 +model.manage.engine=模型框架 +model.manage.select.engine=选择模型框架 +model.manage.modelfile=模型文件 +model.manage.modellabel=模型标签 +model.manage.modeldesc=模型描述 +model.manage.baseinfo=基本信息 +modelconvert.notcreate=未创建过模型转换任务 +modelconvert.importfirst1=请您先导入 +modelconvert.importfirst2=模型下载 +modelconvert.importfirst3=,然后再对其进行转换。 +modelconvert.download=下载 +modelconvert.taskname=任务名称 +modelconvert.modelname=模型名称 +modelconvert.selectmodel=选择模型 +modelconvert.modelversion=模型版本 +modelconvert.selectversion=选择版本 +modelconvert.selectmodelfile=选择模型文件 +modelconvert.taskstatus=状态 +modelconvert.srcengine=原模型框架 +modelconvert.outputformat=转换后格式 +modelconvert.createtime=创建时间 +modelconvert.inputdataformat=输入数据格式 +modelconvert.inputshape=输入张量形状 +modelconvert.inputshapetip=如:1,1,32,32,与输入数据格式对应。 +modelconvert.netoutputdata=网络输出数据类型 +modelconvert.taskdesc=任务描述 +modelconvert.newtask=新建任务 +modelconvert.createtask=创建模型转换任务 modelconvert.manage.create_error1=相同的名称模型转换任务已经存在。 modelconvert.manage.create_error2=只能创建一个正在运行的模型转换任务。 diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index ee2d56ee3..035fdbf3c 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -47,13 +47,12 @@ {{if eq .MODEL_CONVERT_COUNT 0}}
-
未创建过模型转换任务
+
{{$.i18n.Tr "repo.modelconvert.notcreate"}}
{{if eq .MODEL_COUNT 0}} -
请您先导入模型,然后再对其进行转换。
+
{{$.i18n.Tr "repo.modelconvert.importfirst1"}}{{$.i18n.Tr "repo.modelconvert.importfirst2"}}{{$.i18n.Tr "repo.modelconvert.importfirst3"}}
{{end}} -
使用说明:可以参考启智AI协作平台小白训练营课程。
+
{{$.i18n.Tr "repo.platform_instructions"}}
@@ -68,19 +67,19 @@
- 任务名称 + {{$.i18n.Tr "repo.modelconvert.taskname"}}
- 状态 + {{$.i18n.Tr "repo.modelconvert.taskstatus"}}
- 原模型框架 + {{$.i18n.Tr "repo.modelconvert.srcengine"}}
- 转换后格式 + {{$.i18n.Tr "repo.modelconvert.outputformat"}}
- 创建时间 + {{$.i18n.Tr "repo.modelconvert.createtime"}}
{{$.i18n.Tr "repo.cloudbrain_creator"}} @@ -143,10 +142,10 @@ {{if .IsCanOper}} - 下载 + {{$.i18n.Tr "repo.modelconvert.download"}} {{else}} - 下载 + {{$.i18n.Tr "repo.modelconvert.download"}} {{end}}
@@ -211,7 +210,7 @@
- +
@@ -219,10 +218,10 @@
- +
- +