Browse Source

Merge branch 'fix-1985' of https://git.openi.org.cn/OpenI/aiforge into fix-1985

tags/v1.22.5.1^2
zhoupzh 3 years ago
parent
commit
06ca178796
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      routers/repo/cloudbrain.go

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

@@ -1681,9 +1681,9 @@ func CloudBrainBenchmarkIndex(ctx *context.Context) {
ciTasks[i].TrainJobDuration = models.ConvertDurationToStr(ciTasks[i].Duration)
}
if ciTasks[i].JobType == string(models.JobTypeBenchmark) {
ciTasks[i].BenchmarkType = ctx.Tr("cloudbrain.benchmark.algorithm")
ciTasks[i].BenchmarkType = ctx.Tr("repo.cloudbrain.benchmark.algorithm")
} else if ciTasks[i].JobType == string(models.JobTypeSnn4imagenet) || ciTasks[i].JobType == string(models.JobTypeBrainScore) {
ciTasks[i].BenchmarkType = ctx.Tr("cloudbrain.benchmark.model")
ciTasks[i].BenchmarkType = ctx.Tr("repo.cloudbrain.benchmark.model")
ciTasks[i].BenchmarkTypeName = ciTasks[i].JobType

if ciTasks[i].JobType == string(models.JobTypeSnn4imagenet) {


Loading…
Cancel
Save