-
Notifications
You must be signed in to change notification settings - Fork 140
/
config.template.json
72 lines (72 loc) · 1.88 KB
/
config.template.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
{
"T": 5,
"K": 540,
"landmark_n": 27,
"tree_depth": 4,
"random_shift": 0.02,
"image_size": {
"multi_scale": false,
"origin_size": 48,
"half_size": 36,
"quarter_size": 24
},
"hard_negative_mining": {
"mining_th": [0.2, 0.2, 0.2, 0.2, 0.2],
"min_size": 32,
"factor": 1.3,
"step_ratio": 0.5
},
"stages": {
"feature_pool_size": [2000, 2000, 2000, 2000, 2000],
"random_sample_radius": [0.3, 0.2, 0.15, 0.12, 0.1],
"classification_p": [0.9, 0.8, 0.7, 0.6, 0.5],
"recall": [0.99, 0.99, 0.99, 0.99, 0.99],
"drop_n": [1, 1, 1, 1, 1],
"neg_pos_ratio": [1.0, 1.0, 1.0, 1.0, 1.0],
"score_normalization_step": [10, 10, 10, 10, 10]
},
"data": {
"use_hard": false,
"face": "../data/face.txt",
"background": ["../data/hd.txt", "../data/background1.txt", "../data/background2.txt"],
"test": "../data/test.txt"
},
"fddb": {
"dir": "../data/fddb",
"out": true,
"nms": true,
"draw_score": true,
"draw_shape": true,
"minimum_size": 20,
"step": 5,
"scale": 1.3,
"overlap": 0.3,
"method": 0
},
"cart": {
"restart": {
"on": false,
"th": [0.001, 0.001, 0.001, 0.001, 0.001],
"times": 5
}
},
"face": {
"online_augment": false,
"symmetric_landmarks": {
"offset": 1,
"left": [1, 2, 5, 6, 7, 8, 9, 19, 22],
"right": [4, 3, 12, 11, 10, 13, 14, 21, 23]
},
"pupils": {
"offset": 1,
"left": [9],
"right": [14]
},
"similarity_transform": false
},
"resume": {
"model": "../model/jda_xxx.model",
"data": "../data/data_xxx.data"
},
"snapshot_iter": 600
}