-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-sample.json
executable file
·66 lines (66 loc) · 1.35 KB
/
config-sample.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
{
"dataset": "/tmp/data/",
"model": {
"random_seeds": {
"0": 9527,
"1": 1610776764,
"2": 915308291,
"3": 1621443610,
"4": 2023055420
},
"input_image_size": {
"width": 640,
"height": 360
},
"num_classes": 2,
"parameters": "/tmp/data/model_{id}.pth",
"ts_model_path": "/tmp/data/model_{id}.pt",
"diagnostics_dir": "/tmp/diagnostics"
},
"inference": {
"on_detected": {
"triggers": {
"include_outputs": [
2
],
"exclude_outputs": [
0
]
},
"external_program": "/home/user/bin/on-detected.py",
"jpegs_directory": "/tmp/detected/",
"gif": {
"path": "/tmp/detected.gif",
"size": {
"width": 266,
"height": 140
},
"frame_interval_ms": 200
},
"cooldown_sec": 120
},
"initial_model_ids": [
"vgg"
],
"cuda_device": "cuda:0",
"zeromq": {
"address": "tcp://127.0.0.1:4241",
"image_size": {
"width": 1920,
"height": 1080
}
},
"zeromq_producer": {
"address": "tcp://127.0.0.1:14241",
"image_size": {
"width": 1920,
"height": 1080
}
},
"swagger": {
"host": "127.0.0.1",
"port": 8000,
"advertised_host": "http://localhost:8000/"
}
}
}