From b5bf0af9313eb978758f5f8b36675b449e808daf Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 24 Jun 2022 16:14:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/ai_model_convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index d133bf7a4..df04b7072 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -203,7 +203,7 @@ func createNpuTrainJob(modelConvert *models.AiModelConvert, ctx *context.Context engineId = int64(NPU_TENSORFLOW_IMAGE_ID) bootfile = TensorFlowNpuBootFile } - userCommand := "/bin/bash /home/work/run_train.sh " + codeObsPath + " /code/" + bootfile + userCommand := "/bin/bash /home/work/run_train.sh 's3://" + codeObsPath + "' '/code/" + bootfile + "' '/tmp/log/train.log' --'data_url'='s3://" + dataPath + "' --'train_url'='s3://" + outputObsPath + "'" req := &modelarts.GenerateTrainJobReq{ JobName: modelConvert.ID, DisplayJobName: modelConvert.Name,