|
|
|
@@ -135,7 +135,7 @@ func cloudBrainNewDataPrepare(ctx *context.Context) error { |
|
|
|
} |
|
|
|
|
|
|
|
ctx.Data["attachments"] = attachs |
|
|
|
ctx.Data["command"] = cloudbrain.Command |
|
|
|
ctx.Data["command"] = cloudbrain.GetCloudbrainDebugCommand() |
|
|
|
ctx.Data["code_path"] = cloudbrain.CodeMountPath |
|
|
|
ctx.Data["dataset_path"] = cloudbrain.DataSetMountPath |
|
|
|
ctx.Data["model_path"] = cloudbrain.ModelMountPath |
|
|
|
@@ -269,7 +269,7 @@ func CloudBrainCreate(ctx *context.Context, form auth.CreateCloudBrainForm) { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
command := cloudbrain.Command |
|
|
|
command := cloudbrain.GetCloudbrainDebugCommand() |
|
|
|
if jobType == string(models.JobTypeTrain) { |
|
|
|
tpl = tplCloudBrainTrainJobNew |
|
|
|
commandTrain, err := getTrainJobCommand(form) |
|
|
|
@@ -2094,7 +2094,7 @@ func ModelBenchmarkCreate(ctx *context.Context, form auth.CreateCloudBrainForm) |
|
|
|
repo := ctx.Repo.Repository |
|
|
|
|
|
|
|
tpl := tplCloudBrainBenchmarkNew |
|
|
|
command := cloudbrain.Command |
|
|
|
command := cloudbrain.GetCloudbrainDebugCommand() |
|
|
|
|
|
|
|
tasks, err := models.GetCloudbrainsByDisplayJobName(repo.ID, jobType, displayJobName) |
|
|
|
if err == nil { |
|
|
|
|