From ebfcd3f1f28b30bf5036fae9f1178ff1e362249d Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 6 Jun 2022 17:40:32 +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 b9e911bad..d72815495 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -93,7 +93,6 @@ func createTrainJob(modelConvert *models.AiModelConvert, ctx *context.Context, m if modelConvert.SrcEngine == PYTORCH_ENGINE { codePath := setting.JobPath + modelConvert.ID + CodeMountPath - log.Info("Volume codePath=" + codePath) downloadCode(repo, codePath, DefaultBranchName) @@ -101,6 +100,7 @@ func createTrainJob(modelConvert *models.AiModelConvert, ctx *context.Context, m log.Info("minio code path=" + setting.CBCodePathPrefix + modelConvert.ID) minioCodePath := setting.Attachment.Minio.RealPath + setting.Attachment.Minio.Bucket + "/" + setting.CBCodePathPrefix + modelConvert.ID + log.Info("Volume codePath=" + minioCodePath) modelPath := setting.JobPath + modelConvert.ID + ModelMountPath + "/" log.Info("modelPath=" + modelPath)