Browse Source

change data_url

tags/v1.21.12.1
liuzx 4 years ago
parent
commit
af87050383
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/modelarts.go

+ 1
- 1
routers/repo/modelarts.go View File

@@ -621,7 +621,7 @@ func TrainJobCreate(ctx *context.Context, form auth.CreateModelArtsTrainJobForm)
codeObsPath := "/" + setting.Bucket + modelarts.JobPath + jobName + modelarts.CodePath
outputObsPath := "/" + setting.Bucket + modelarts.JobPath + jobName + modelarts.OutputPath
logObsPath := "/" + setting.Bucket + modelarts.JobPath + jobName + modelarts.LogPath
dataPath := "/" + setting.Bucket + "/" + setting.BasePath + path.Join(uuid[0:1], uuid[1:2]) + "/" + uuid + "/"
dataPath := "/" + setting.Bucket + "/" + setting.BasePath + path.Join(uuid[0:1], uuid[1:2]) + "/" + uuid + uuid + "/"

//can, err := canUserCreateTrainJob(ctx.User.ID)
//if err != nil {


Loading…
Cancel
Save