-
Notifications
You must be signed in to change notification settings - Fork 0
/
specs.json
73 lines (72 loc) · 1.78 KB
/
specs.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
{
"information": {
"id": "hf-image-classification-inference",
"name": "HuggingFace Image Classification Inference",
"description": "Runs image classification inference on pairs of models and datasets form HuggingFace Hub.",
"block_version": "latest",
"block_source": "core/blocks/hf-image-classification-inference",
"block_type": "compute",
"system_versions": [
"0.1"
]
},
"inputs": {
"dataset_name": {
"type": "str",
"connections": [],
"relays": []
},
"split_name": {
"type": "str",
"connections": [],
"relays": []
},
"model_name": {
"type": "str",
"connections": [],
"relays": []
},
"n_samples": {
"type": "int",
"connections": [],
"relays": []
}
},
"outputs": {
"images": {
"type": "List[file]",
"connections": [],
"relays": []
},
"predictions": {
"type": "List",
"connections": [],
"relays": []
}
},
"action": {
"container": {
"image": "hf-image-classification-inference",
"version": "latest",
"command_line": [
"python",
"entrypoint.py"
]
}
},
"views": {
"node": {
"active": "True or False",
"html": "",
"pos_x": "300",
"pos_y": "200",
"pos_z": "999, this is the z-index for 2D canvas",
"preview": {
"active": "false"
},
"title_bar": {
}
}
},
"events": []
}