|
|
|
@@ -314,8 +314,7 @@ func grampusNotebookNewDataPrepare(ctx *context.Context, processType string) err |
|
|
|
func grampusTrainJobNewDataPrepare(ctx *context.Context, processType string) error { |
|
|
|
ctx.Data["PageIsCloudBrain"] = true |
|
|
|
|
|
|
|
t := time.Now() |
|
|
|
var displayJobName = jobNamePrefixValid(cutString(ctx.User.Name, 5)) + t.Format("2006010215") + strconv.Itoa(int(t.Unix()))[5:] |
|
|
|
var displayJobName = cloudbrainService.GetDisplayJobName(ctx.User.Name) |
|
|
|
ctx.Data["display_job_name"] = displayJobName |
|
|
|
|
|
|
|
//get valid images |
|
|
|
|