Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.10.1^2
zouap 3 years ago
parent
commit
dd105e2dd0
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      routers/repo/aisafety.go
  2. +2
    -2
      routers/repo/cloudbrain.go

+ 2
- 2
routers/repo/aisafety.go View File

@@ -92,8 +92,8 @@ func GetAiSafetyTask(ctx *context.Context) {
}
syncAiSafetyTaskStatus(job)
job, err = models.GetCloudbrainByIDWithDeleted(ID)
job.BenchmarkType = "CV"
job.BenchmarkTypeName = "图像分类"
job.BenchmarkType = "安全评测"
job.BenchmarkTypeName = "Image Classification"
ctx.JSON(200, job)
}



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

@@ -2176,8 +2176,8 @@ func CloudBrainBenchmarkIndex(ctx *context.Context) {
}
}
if task.JobType == string(models.JobTypeModelSafety) {
ciTasks[i].BenchmarkType = "CV"
ciTasks[i].BenchmarkTypeName = "图像分类"
ciTasks[i].BenchmarkType = "安全评测"
ciTasks[i].BenchmarkTypeName = "Image Classification"
}
}



Loading…
Cancel
Save