Browse Source

debug

pull/2379/head
lewis 3 years ago
parent
commit
2605deea43
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      options/locale/locale_zh-CN.ini
  2. +1
    -1
      routers/repo/grampus.go

+ 1
- 1
options/locale/locale_zh-CN.ini View File

@@ -1190,7 +1190,7 @@ model.manage.sava_model = 保存模型
model.manage.model_manage = 模型管理
model.manage.model_accuracy = 模型精度

grampus.train_job.ai_center=ai计算中心
grampus.train_job.ai_center=算中心
grampus.dataset_path_rule = 训练脚本存储在/tmp/code中,数据集存储在/tmp/dataset中,训练输出请存储在/tmp/output中以供后续下载。

template.items=模板选项


+ 1
- 1
routers/repo/grampus.go View File

@@ -655,7 +655,7 @@ func generateCommand(repoName, processorType, codeRemotePath, dataRemotePath, bo
}

//check exec result
commandCheckRes := "bash -c \"[[ $result -eq 0 ]] && echo success || ls failed;\""
commandCheckRes := "bash -c \"[[ $result -eq 0 ]] && echo success || return -1;\""
command += commandCheckRes

return command, nil


Loading…
Cancel
Save