From 21b3371c35cf17dae025142837a59b7a9199bdf0 Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Mon, 26 Sep 2022 14:44:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/auth/modelarts.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/auth/modelarts.go b/modules/auth/modelarts.go index ced5ea1e8..9744bc387 100755 --- a/modules/auth/modelarts.go +++ b/modules/auth/modelarts.go @@ -33,6 +33,7 @@ type CreateModelArtsTrainJobForm struct { DisplayJobName string `form:"display_job_name" binding:"Required"` JobName string `form:"job_name" binding:"Required"` Attachment string `form:"attachment" binding:"Required"` + DatasetName string `form:"dataset_name"` BootFile string `form:"boot_file" binding:"Required"` WorkServerNumber int `form:"work_server_number" binding:"Required"` EngineID int `form:"engine_id" binding:"Required"` From fc8f85090024f566d5e3afe161fc86a3c5407188 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Mon, 26 Sep 2022 14:46:23 +0800 Subject: [PATCH 2/2] fix issue --- templates/repo/modelarts/trainjob/new.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/modelarts/trainjob/new.tmpl b/templates/repo/modelarts/trainjob/new.tmpl index df1fb90a9..8e2810317 100755 --- a/templates/repo/modelarts/trainjob/new.tmpl +++ b/templates/repo/modelarts/trainjob/new.tmpl @@ -196,8 +196,8 @@
- {{if .bootFile}} - + {{if .boot_file}} + {{else}} {{end}}