diff --git a/templates/repo/cloudbrain/trainjob/versionnew.tmpl b/templates/repo/cloudbrain/trainjob/versionnew.tmpl index b60af9c8f..a622db8fb 100644 --- a/templates/repo/cloudbrain/trainjob/versionnew.tmpl +++ b/templates/repo/cloudbrain/trainjob/versionnew.tmpl @@ -70,7 +70,7 @@
{{template "repo/header" .}}
- + {{template "base/alert" .}}

{{.i18n.Tr "repo.modelarts.train_job.new"}} diff --git a/templates/repo/grampus/trainjob/npu/new.tmpl b/templates/repo/grampus/trainjob/npu/new.tmpl index a11d84bb3..1105e7638 100755 --- a/templates/repo/grampus/trainjob/npu/new.tmpl +++ b/templates/repo/grampus/trainjob/npu/new.tmpl @@ -57,7 +57,7 @@
{{template "repo/header" .}}
- + {{template "base/alert" .}}

{{.i18n.Tr "repo.modelarts.train_job.new"}} @@ -186,7 +186,9 @@ {{.i18n.Tr "cloudbrain.view_sample"}}

- {{template "custom/select_dataset_train" .}} +
+ +
diff --git a/templates/repo/grampus/trainjob/npu/versionnew.tmpl b/templates/repo/grampus/trainjob/npu/versionnew.tmpl index 271887b92..de50c08df 100644 --- a/templates/repo/grampus/trainjob/npu/versionnew.tmpl +++ b/templates/repo/grampus/trainjob/npu/versionnew.tmpl @@ -57,14 +57,14 @@
{{template "repo/header" .}}
- + {{template "base/alert" .}}

{{.i18n.Tr "repo.modelarts.train_job.new"}}

-
+ {{.CsrfTokenHtml}} @@ -184,7 +184,9 @@ {{.i18n.Tr "cloudbrain.view_sample"}}
- {{template "custom/select_dataset_train" .}} +
+ +
@@ -398,12 +400,14 @@ } } function send_run_para() { + console.log("-----------") var run_parameters = [] var msg = {} $(".dynamic.field .two.fields").each(function () { var para_name = $(this).find('input.shipping_first-name').val() var para_value = $(this).find('input.shipping_last-name').val() run_parameters.push({ "label": para_name, "value": para_value }) + console.log(run_parameters) }) msg["parameter"] = run_parameters msg = JSON.stringify(msg)