-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
90 lines (79 loc) · 2.16 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"model_algorithm": "object_detection",
"model_type": "PyTorch",
"runtime": "python3.6",
"apis": [
{
"procotol": "http",
"url": "/",
"method": "post",
"request": {
"Content-type": "multipart/form-data",
"data": {
"type": "object",
"properties": {
"images": {
"type": "file"
}
}
}
},
"response": {
"Content-type": "multipart/form-data",
"data": {
"type": "object",
"properties": {
"detection_classes": {
"type": "list",
"items": [{
"type": "string"
}]
},
"detection_scores": {
"type": "list",
"items": [{
"type": "number"
}]
},
"detection_boxes": {
"type": "list",
"items": [{
"type": "list",
"minItems": 4,
"maxItems": 4,
"items": [{
"type": "number"
}]
}]
}//,
// "latency_time": {
// "type": "string"
//
// }
}
}
}
}
],
"metrics": {
"f1": 0.0,
"recall": 0.0,
"precision": 0.0,
"accuracy": 0.0
},
// "dependencies": [{
// "installer": "pip",
// "packages": [
// {
// "restraint": "EXACT",
// "package_version": "1.4.0",
// "package_name": "torch"
// },
// {
// "restraint": "EXACT",
// "package_version": "0.5.0",
// "package_name": "torchvision"
// }
// ]
// }]
}