From 276ca5feec520c8c95ba616b4e66e0ec5e1adcb5 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 6 Jun 2022 17:14:56 +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, 2 insertions(+) diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index 7b5f7c6eb..6f74df126 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -100,8 +100,10 @@ func createTrainJob(modelConvert *models.AiModelConvert, ctx *context.Context, m log.Info("minio code path=" + setting.CBCodePathPrefix + modelConvert.ID) modelPath := setting.JobPath + modelConvert.ID + ModelMountPath + "/" + log.Info("modelPath=" + modelPath) mkModelPath(modelPath) uploadCodeToMinio(modelPath, modelConvert.ID, ModelMountPath+"/") + command := getModelConvertCommand(modelConvert.ID, modelConvert.ModelPath) log.Info("command=" + command) dataActualPath := setting.Attachment.Minio.RealPath + modelRelativePath