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