|
|
|
@@ -848,7 +848,8 @@ func TrainJobCreate(ctx *context.Context, form auth.CreateModelArtsTrainJobForm) |
|
|
|
DataUrl: dataPath, |
|
|
|
Description: description, |
|
|
|
CodeObsPath: codeObsPath, |
|
|
|
BootFile: codeObsPath + bootFile, |
|
|
|
BootFileUrl: codeObsPath + bootFile, |
|
|
|
BootFile: bootFile, |
|
|
|
TrainUrl: outputObsPath, |
|
|
|
FlavorCode: flavorCode, |
|
|
|
WorkServerNumber: workServerNumber, |
|
|
|
@@ -912,9 +913,6 @@ func TrainJobCreate(ctx *context.Context, form auth.CreateModelArtsTrainJobForm) |
|
|
|
func TrainJobCreateVersion(ctx *context.Context, form auth.CreateModelArtsTrainJobForm) { |
|
|
|
ctx.Data["PageIsTrainJob"] = true |
|
|
|
var jobID = ctx.Params(":jobid") |
|
|
|
// var fatherVersionName = ctx.Query("versionName") |
|
|
|
// jobID = "19373" |
|
|
|
// versionName = "V0009" |
|
|
|
|
|
|
|
jobName := form.JobName |
|
|
|
uuid := form.Attachment |
|
|
|
@@ -1072,7 +1070,8 @@ func TrainJobCreateVersion(ctx *context.Context, form auth.CreateModelArtsTrainJ |
|
|
|
DataUrl: dataPath, |
|
|
|
Description: description, |
|
|
|
CodeObsPath: codeObsPath, |
|
|
|
BootFile: codeObsPath + bootFile, |
|
|
|
BootFileUrl: codeObsPath + bootFile, |
|
|
|
BootFile: bootFile, |
|
|
|
TrainUrl: outputObsPath, |
|
|
|
FlavorCode: flavorCode, |
|
|
|
WorkServerNumber: workServerNumber, |
|
|
|
|