|
|
|
@@ -454,12 +454,15 @@ func sendGPUInferenceResultToTest(job *models.Cloudbrain) { |
|
|
|
datasetname := job.DatasetName |
|
|
|
datasetnames := strings.Split(datasetname, ";") |
|
|
|
indicator := job.LabelName |
|
|
|
|
|
|
|
EvalContent := "test1" |
|
|
|
if job.Description != "" { |
|
|
|
EvalContent = job.Description |
|
|
|
} |
|
|
|
req := aisafety.TaskReq{ |
|
|
|
UnionId: job.JobID, |
|
|
|
EvalName: job.DisplayJobName, |
|
|
|
EvalContent: job.Description, |
|
|
|
TLPath: "test", |
|
|
|
EvalContent: EvalContent, |
|
|
|
TLPath: "test1", |
|
|
|
Indicators: strings.Split(indicator, ";"), |
|
|
|
CDName: datasetnames[1], |
|
|
|
BDName: datasetnames[0], |
|
|
|
|