-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathexample_config.json
50 lines (45 loc) · 1.7 KB
/
example_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
{
"model_config_list": [],
"custom_node_library_config_list": [
{"name": "image_transformation",
"base_path": "/ovms/src/custom_nodes/image_transformation/lib/libcustom_node_image_transformation.so"}
],
"pipeline_config_list": [
{
"name": "image_transformation_test",
"inputs": [
"image"
],
"nodes": [
{
"name": "image_transformation_node",
"library_name": "image_transformation",
"type": "custom",
"params": {
"target_image_width": "1200",
"target_image_height": "800",
"original_image_color_order": "GRAY",
"target_image_color_order": "RGB",
"original_image_layout": "NCHW",
"target_image_layout": "NHWC",
"scale_values": "[0.003921568627451,0.003921568627451,0.003921568627451]",
"mean_values": "[-2,-2,-2]",
"debug": "true"
},
"inputs": [
{"image": {
"node_name": "request",
"data_item": "image"}}],
"outputs": [
{"data_item": "image",
"alias": "transformed_image"}]
}
],
"outputs": [
{"image": {
"node_name": "image_transformation_node",
"data_item": "transformed_image"}}
]
}
]
}