Browse Source

提交代码。

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

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

@@ -93,6 +93,7 @@ func createTrainJob(modelConvert *models.AiModelConvert, ctx *context.Context, m
if modelConvert.SrcEngine == PYTORCH_ENGINE { if modelConvert.SrcEngine == PYTORCH_ENGINE {


codePath := setting.JobPath + modelConvert.ID + CodeMountPath codePath := setting.JobPath + modelConvert.ID + CodeMountPath
log.Info("Volume codePath=" + codePath)


downloadCode(repo, codePath, DefaultBranchName) downloadCode(repo, codePath, DefaultBranchName)




Loading…
Cancel
Save