Browse Source

tee >

tags/v1.22.9.1^2
lewis 3 years ago
parent
commit
cd2edcbd24
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/cloudbrain.go

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

@@ -2718,7 +2718,7 @@ func getTrainJobCommand(form auth.CreateCloudBrainForm) (string, error) {
}
}

command += "python /code/" + bootFile + param + " | tee " + cloudbrain.ModelMountPath + "/" + form.DisplayJobName + "-" + cloudbrain.LogFile
command += "python /code/" + bootFile + param + " > " + cloudbrain.ModelMountPath + "/" + form.DisplayJobName + "-" + cloudbrain.LogFile

return command, nil
}


Loading…
Cancel
Save