Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/2480/head
zouap 3 years ago
parent
commit
276ca5feec
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      routers/repo/ai_model_convert.go

+ 2
- 0
routers/repo/ai_model_convert.go View File

@@ -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


Loading…
Cancel
Save