Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3035/head
zouap 2 years ago
parent
commit
9fb31cee9e
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      routers/repo/aisafety.go

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

@@ -25,16 +25,16 @@ func CloudBrainAiSafetyCreateTest(ctx *context.Context) {
id := uuid.String()
seriaNoParas := ctx.Query("serialNo")
//if jobType == string(models.JobTypeBenchmark) {
jsonStr, err := getJsonContent("http://192.168.207.34:8065/Test_zap1234/openi_aisafety/raw/branch/master/result/0301.json")
jsonStr, err := getJsonContent("http://192.168.207.34:8065/Test_zap1234/openi_aisafety/raw/branch/master/result/0302.json")
if err == nil {
req := aisafety.TaskReq{
UnionId: id,
EvalName: "test",
EvalContent: "test",
TLPath: "test",
EvalName: "test1",
EvalContent: "test1",
TLPath: "test1",
Indicators: []string{"ACC,CAV"},
CDName: "cifar10_1000_BA",
BDName: "cifar10_1000",
CDName: "jzl_adv_data",
BDName: "jzl_cln_data",
}
aisafety.GetAlgorithmList()
if seriaNoParas != "" {


Loading…
Cancel
Save