/
config-x86.json
46 lines (46 loc) · 1003 Bytes
/
config-x86.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
{
"dataset": {
"path": "datasets/data_synth_real/",
"no_classes": 2,
"img_size": 45,
"no_channel": 3
},
"model": {
"backend": "OFMClassifier",
"include_top": "False",
"training": "True",
"load_pretrained": "False",
"pretrained_model": "checkpoints/facemask/model.h5"
},
"pretrained_model": {
"pretrained_folder": "pretrained_folder"
},
"train": {
"train_image_folder": "train",
"epochs": 2,
"batch_size": 64,
"learning_rate": 0.0002,
"saved_weights_folder": "checkpoints",
"export_folder": "export_files"
},
"validation": {
"validation_image_folder": "validation"
},
"classifier": {
"name": "OFMClassifier",
"model_path": "",
"input_size": 45
},
"detector": {
"name": "openpifpaf",
"model_path": "",
"input_size": [1281,721]
},
"app": {
"device": "x86",
"video_path": "data/video/sample2.mov",
"resolution": [320, 320],
"host": "0.0.0.0",
"port": "8000"
}
}