你确认删除该任务么?此任务一旦删除不可恢复。
+{{.i18n.Tr "cloudbrain.task_delete_confirm"}}
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index a0acb05ec..aba6bfbf3 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -273,6 +273,20 @@ code_search_results = Search results for '%s' code_last_indexed_at = Last indexed %s save=Save cancel=Cancel +hot_repo=Hot Repositories +active_repo=Active Repositories +all_fields = All fields +large_model = Large model +ai_development_tools = AI tools +computer_version = Computer version +natural_language_processing = NLP +machine_learning = Machine learning +neural_networks = Neural networks +autopilot = Autopilot +robot = Robot +federated_learning = Federated learning +data_mining = Data mining +RISC-V_development = RISC-V development [auth] create_new_account = Register Account @@ -982,6 +996,7 @@ modelarts.infer_job_model_file = Model File modelarts.infer_job = Inference Job modelarts.infer_job.model_version = Model/Version modelarts.infer_job.select_model = Select Model +modelarts.infer_job.boot_file_helper=The startup file is the entry file for your program execution and must end in.py.Such as inference.py, main.py, example/inference. Py, case/main.py. modelarts.infer_job.tooltip = The model has been deleted and cannot be viewed. @@ -991,7 +1006,7 @@ inference_job_not_created = Inference job has not been created model_Evaluation_not_created = Model evaluation has not been created repo_not_initialized = Code version: You have not initialized the code repository, please initialized first ; debug_task_running_limit =Running time: no more than 4 hours, it will automatically stop if it exceeds 4 hours; -dataset_desc = Dataset: Cloud Brain 1 provides CPU/GPU,Cloud Brain 2 provides Ascend NPU.Dataset also needs to be uploaded to the corresponding environment; +dataset_desc = Dataset: Cloud Brain 1 provides CPU/GPU,Cloud Brain 2 provides Ascend NPU.And dataset also needs to be uploaded to the corresponding environment; platform_instructions = Instructions for use: You can refer to the Xiaobai training camp course of Qizhi AI collaboration platform. model_not_exist = Model file: You do not have a model file yet, please generate and export the model through the training task first ; benchmark_leaderboards = Benchmark leaderboards @@ -2828,4 +2843,15 @@ benchmark_path = Benchmark script path snn4imagenet_path = Snn4imagenet script path brainscore_path = Brainscore script path start_command = Start command -choose_mirror = select mirror +choose_mirror = select mirror or enter mirror path + +job_name_rule = Please enter letters, numbers, _ and - up to 64 characters and cannot end with a dash (-). +dataset_path_rule = The dataset location is stored in the environment variable data_url, and the training output path is stored in the environment variable train_url. +view_sample = View sample +inference_output_path_rule = The inference output path is stored in the environment variable result_url. +model_file_path_rule=The model file location is stored in the environment variable ckpt_url + +delete_task = Delete task +task_delete_confirm = Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered. +operate_confirm = confirm +operate_cancel = cancel diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index fd5cde4d1..5a86801d0 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -275,6 +275,20 @@ code_search_results=“%s” 的搜索结果是 code_last_indexed_at=最后索引于 %s save=保存 cancel=取消 +hot_repo=热门项目 +active_repo=活跃项目 +all_fields = 全部领域 +large_model = 大模型 +ai_development_tools = AI开发工具 +computer_version = 计算机视觉 +natural_language_processing = 自然语言处理 +machine_learning = 机器学习 +neural_networks = 神经网络 +autopilot = 自动驾驶 +robot = 机器人 +federated_learning = 联邦学习 +data_mining = 数据挖掘 +RISC-V_development = RISC-V开发 [auth] create_new_account=注册帐号 @@ -2838,3 +2852,13 @@ brainscore_path = brainscore脚本存放路径 start_command = 启动命令 choose_mirror = 选择镜像或输入镜像地址 +job_name_rule = 请输入字母、数字、_和-,最长64个字符,且不能以中划线(-)结尾。 +dataset_path_rule = 数据集位置存储在环境变量data_url中,训练输出路径存储在环境变量train_url中。 +view_sample = 查看样例 +inference_output_path_rule = 推理输出路径存储在环境变量result_url中。 +model_file_path_rule = 模型文件位置存储在环境变量ckpt_url中。 + +delete_task = 删除任务 +task_delete_confirm = 你确认删除该任务么?此任务一旦删除不可恢复。 +operate_confirm = 确定操作 +operate_cancel = 取消操作 diff --git a/templates/admin/cloudbrain/list.tmpl b/templates/admin/cloudbrain/list.tmpl index 9aac97e70..39b2c21de 100644 --- a/templates/admin/cloudbrain/list.tmpl +++ b/templates/admin/cloudbrain/list.tmpl @@ -43,26 +43,26 @@ {{$.i18n.Tr "repo.cloudbrain_status_runtime"}}
你确认删除该任务么?此任务一旦删除不可恢复。
+{{.i18n.Tr "cloudbrain.task_delete_confirm"}}
你确认删除该任务么?此任务一旦删除不可恢复。
+{{.i18n.Tr "cloudbrain.task_delete_confirm"}}
| 训练程序 | - +
train.py
@@ -314,19 +314,19 @@ td, th {
测试程序
|
-
+
|
test.py
| ||||||||||||||||||||||||||||||||||
| - {{$.i18n.Tr "repo.modelarts.train_job.description"}} + {{$.i18n.Tr "repo.modelarts.train_job.description"}} | - +
{{.Description}}
@@ -336,9 +336,9 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.train_job.standard"}}
+ {{$.i18n.Tr "repo.modelarts.train_job.standard"}}
|
-
+
|
{{$.resource_spec}}
@@ -348,9 +348,9 @@ td, th {
- 创建者
+ 创建者
|
-
+
|
{{.User.Name}}
@@ -359,9 +359,9 @@ td, th {
- 子类型
+ 子类型
|
-
+
|
{{$.BenchmarkChildTypeName}}
@@ -373,7 +373,7 @@ td, th {
-
+
@@ -386,11 +386,11 @@ td, th {
-
+
-
+
-
+
@@ -400,24 +400,24 @@ td, th {
- 删除任务
+ {{.i18n.Tr "cloudbrain.delete_task"}}
-
+
-
你确认删除该任务么?此任务一旦删除不可恢复。 +{{.i18n.Tr "cloudbrain.task_delete_confirm"}}
-
+
-
@@ -181,7 +181,7 @@
{{end}}
-
+
@@ -195,9 +195,9 @@
- 查看样例
+ {{.i18n.Tr "cloudbrain.view_sample"}}
-
+
@@ -222,7 +222,7 @@
{{end}}
-
+
@@ -283,7 +283,7 @@
$("#select_model").dropdown('set text',nameList[0])
$("#select_model").dropdown('set value',nameList[0],nameList[0])
}
-
+
$('#select_model').removeClass("loading")
})
// 根据选中的模型名称获取相应的模型版本
@@ -323,7 +323,7 @@
if(!element.IsDir && loadCheckpointFile.includes(ckptSuffix[ckptSuffix.length-1])){
html += `${element.FileName} `
}
-
+
})
$('#model_checkpoint').append(html)
$("#select_model_checkpoint").removeClass("loading")
@@ -332,7 +332,7 @@
$("#select_model_checkpoint").dropdown('set text',initVersionText)
$("#select_model_checkpoint").dropdown('set value',initVersionValue,initVersionText,$('#model_name_version div.item:first-child'))
})
-
+
$("input#ai_model_version").val(text)
$("input#ai_model_label").val(label)
@@ -348,15 +348,15 @@
}
$('.question.circle.icon').hover(function(){
- $(this).popup('show')
+ $(this).popup('show')
});
// 参数增加、删除、修改、保存
function Add_parameter(i){
value = '' +
- ' '
$(".dynamic.field").append(value)
- }
+ }
$('#add_run_para').click(function(){
var len = $(".dynamic.field .two.fields").length
@@ -459,7 +459,7 @@
onSuccess: function(){
document.getElementById("mask").style.display = "block"
},
- onFailure: function(e){
+ onFailure: function(e){
return false;
}
})
@@ -470,8 +470,8 @@
}
}
$('.ui.create_train_job.green.button').click(function(e) {
- send_run_para()
+ send_run_para()
get_name()
validate()
})
-
\ No newline at end of file
+
diff --git a/templates/repo/modelarts/inferencejob/show.tmpl b/templates/repo/modelarts/inferencejob/show.tmpl
index 4e221acd4..e11919b71 100644
--- a/templates/repo/modelarts/inferencejob/show.tmpl
+++ b/templates/repo/modelarts/inferencejob/show.tmpl
@@ -82,7 +82,7 @@
vertical-align: inherit;
}
.ti-text-form-label {
-
+
padding-bottom: 20px;
padding-right: 20px;
color: #8a8e99;
@@ -152,7 +152,7 @@ td, th {
opacity: .45 !important;
}
.pad20{
-
+
border:0px !important;
}
.model_file_bread{
@@ -180,12 +180,12 @@ td, th {
{{with .task}}
' +
- ' ' +
- ' ' +
+ '' +
+ ' ' +
+ ' ' +
' ' +
'' +
' '+
@@ -366,7 +366,7 @@
'' +
'
-
+
@@ -218,7 +218,7 @@ td, th {
{{$.i18n.Tr "repo.modelarts.run_version"}}
|
-
+
|
{{.VersionName}}
@@ -227,9 +227,9 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.train_job.start_time"}}
+ {{$.i18n.Tr "repo.modelarts.train_job.start_time"}}
|
-
+
|
{{TimeSinceUnix1 .CreatedUnix}}
@@ -238,9 +238,9 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.train_job.dura_time"}}
+ {{$.i18n.Tr "repo.modelarts.train_job.dura_time"}}
|
-
+
|
{{.TrainJobDuration}}
@@ -248,23 +248,23 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.train_job.AI_driver"}}
+ {{$.i18n.Tr "repo.modelarts.train_job.AI_driver"}}
|
|
-
+
{{.EngineName}}
{{$.i18n.Tr "repo.model.manage.description"}}
|
-
+
|
{{if .Description}}
@@ -279,7 +279,7 @@ td, th {
创建人
|
-
+
|
{{$.userName}}
@@ -288,7 +288,7 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.train_job.compute_node"}}
+ {{$.i18n.Tr "repo.modelarts.train_job.compute_node"}}
|
|
@@ -304,19 +304,19 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.infer_job_model"}}
+ {{$.i18n.Tr "repo.modelarts.infer_job_model"}}
|
|
{{.ModelName}}
{{$.i18n.Tr "repo.modelarts.version"}}:{{.ModelVersion}}
-
+
- {{$.i18n.Tr "repo.modelarts.infer_job_model_file"}}
+ {{$.i18n.Tr "repo.modelarts.infer_job_model_file"}}
|
|
@@ -328,10 +328,10 @@ td, th {
{{$.i18n.Tr "repo.modelarts.model_label"}}
|
-
+
|
-
+
{{if .LabelName}}
{{range $.labelName}}
{{.}}
@@ -342,7 +342,7 @@ td, th {
{{$.i18n.Tr "repo.modelarts.code_version"}}
@@ -358,7 +358,7 @@ td, th {
|
{{$.i18n.Tr "repo.modelarts.train_job.start_file"}}
|
-
+
|
{{.BootFile}}
@@ -367,9 +367,9 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.infer_dataset"}}
+ {{$.i18n.Tr "repo.modelarts.infer_dataset"}}
|
-
+
|
{{.DatasetName}}
@@ -378,9 +378,9 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.train_job.run_parameter"}}
+ {{$.i18n.Tr "repo.modelarts.train_job.run_parameter"}}
|
-
+
|
{{if .Parameters}}
@@ -393,9 +393,9 @@ td, th {
- {{$.i18n.Tr "repo.modelarts.train_job.standard"}}
+ {{$.i18n.Tr "repo.modelarts.train_job.standard"}}
|
-
+
| "
html += "
{{.FlavorName}}
@@ -407,10 +407,10 @@ td, th {
-
+
-
+
-
+
-
+
@@ -434,34 +434,34 @@ td, th {
-
+
-
+
{{end}}
-
-
-
-
-
+
+
+
+
+
- 删除任务
+ {{.i18n.Tr "cloudbrain.delete_task"}}
-
+
-
你确认删除该任务么?此任务一旦删除不可恢复。 +{{.i18n.Tr "cloudbrain.task_delete_confirm"}} ' + data.Content)
+ $(`#log${version_name}`).append('"
html += "" + data.Dirs[i].ModTime + ""
html += " | "
html += " |
你确认删除该任务么?此任务一旦删除不可恢复。
+{{.i18n.Tr "cloudbrain.task_delete_confirm"}}
你确认删除该任务么?此任务一旦删除不可恢复。
+{{.i18n.Tr "cloudbrain.task_delete_confirm"}}