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