|
|
|
@@ -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) { |
|
|
|
|