forked from wwarriner/unsupervised_onh_histo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_coco.json
127 lines (127 loc) · 2.79 KB
/
config_coco.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"segmentation": {
"architecture": {
"trunk": {
"parameters": {
"convolution_size": 3,
"padding": 1,
"stride": 1,
"batch_norm": true,
"batch_norm_tracking": true
},
"structure": [
[64, 1],
[128, 1],
["M", null],
[256, 1],
[256, 1],
[512, 2],
[512, 2]
]
},
"heads": {
"subhead_count": 3,
"info": [
{
"label": "A",
"class_count": 15
},
{
"label": "B",
"class_count": 3,
"primary": true
}
]
}
},
"preprocessor": {
"prescale_all": false,
"prescale_factor": 0.33,
"jitter_brightness": 0.4,
"jitter_contrast": 0.4,
"jitter_saturation": 0.4,
"jitter_hue": 0.125
},
"transformations": {
"flip_horizontal_probability": 0.5,
"use_random_affine": true,
"rotation_range": [-30.0, 30.0],
"shear_range": [-10.0, 10.0],
"scale_range": [0.8, 1.2]
},
"training": {
"batch_size": 120,
"shuffle": true,
"num_epochs": 5,
"validation_mode": "IID",
"eval_mode": "hung",
"loss": {
"lambs": {
"A": 1.0,
"B": 1.5
},
"use_uncollapsed": true,
"half_T_side_dense": 10,
"half_T_side_sparse_min": 0,
"half_T_side_sparse_max": 0
}
},
"dataset": {
"id": 556,
"root": "./datasets/cocostuff_small",
"extensions": [".png", ".jpg"],
"partitions": {
"image": "images",
"label": "annotations"
},
"label_filter": {
"name": "CocoFewLabels",
"parameters": {
"store_path": "./datasets/cocostuff/fine_to_coarse_dict",
"use_coarse_labels": true,
"include_person_things": false,
"include_animal_things": false
}
},
"parameters": {
"is_rgb": true,
"use_rgb": true,
"do_sobelize": true,
"input_size": 128
}
},
"optimizer": {
"name": "Adam",
"learning_rate": 0.0001,
"schedule": [],
"multiplier": 0.1
},
"output": {
"force_training_restart": true,
"batch_print_freq": 5,
"rendering": {
"enabled": true,
"limit": 1
},
"label_colors": [
[255, 255, 109],
[36, 255, 36],
[219, 209, 0],
[0, 73, 73],
[255, 182, 119],
[73, 0, 146],
[0, 109, 219],
[182, 109, 255],
[109, 182, 255],
[182, 219, 255],
[146, 0, 0],
[146, 73, 0]
],
"root": "./out",
"plot_name": "plots.png"
},
"debug": {
"enabled": false
}
}
}