-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfig.yaml
More file actions
129 lines (116 loc) · 2.25 KB
/
Copy pathconfig.yaml
File metadata and controls
129 lines (116 loc) · 2.25 KB
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
128
129
###path params###
models_path: 'models/'
#used for filename
model_name: 'random'
save_freq: 10
#ds_dir: 'BCDR-F01'
#csv_file: 'bcdr_f01_outlines.csv'
#csv_features_file: 'bcdr_f01_features.csv'
#csv_point_separator: ' '
csv_class_column: 'classification'
ds_dir: 'BCDR-F03'
csv_file: 'bcdr_f03_outlines.csv'
csv_features_file: 'bcdr_f03_features.csv'
csv_point_separator: ' '
csv_positive_class: 'Malign'
###Split dataset params###
# Dataset name. Used for filename
ds_name: 'miwad01-random'
# CraneoCaudal images with nodules only. Check bcdr_f01_outlines.csv for
# more info
filters: {
# image_view: ['1', '2'],
mammography_nodule: ['1']
}
img_width: 720
img_height: 1167
train_on_memory: True
valid_on_memory: True
valid_percent: 0.1
test_percent: 0.4
rng_seed: [2014, 10, 29]
###Region sampling params##
region_size: 150
region_stride: 30
min_overlap: 0.64
oversampling: True
apply_mask: False
crop_image: True
scale_image: True
convex_hull: True
num_channels: 1
###Preprocessing params###
preprocessing: {
per_roi: False,
lcn: True,
gcn: True,
remove_mean: False,
batch_size: 5000
}
###Patch (filter) params###
patch_size: 11
npatches_train: 400000
npatches_valid: 150000
###sae params###
sae: {
nhid: 64,
beta: 5,
rho: 0.035,
lmbda: 0.0035,
init: 'irange: 0.005'
}
pool_fn: 'max'
### conv params###
cnn_layers: 3
load_pretrained: False
h0: {
nhid: 64,
init: 'irange: 0.0069585550803',
bias: 0,
drop_prob: 0.8,
drop_scale: 1.,
col_norm: 1.9845590751341953,
kernel_shape: 11,
pool_shape: 5,
pool_stride: 4,
pool_type: 'max'
}
h1: {
nhid: 64,
init: 'irange: 0.01',
bias: 0,
col_norm: 0.12,
kernel_shape: 4,
pool_shape: 4,
pool_stride: 4,
pool_type: 'max'
}
hfc: {
nhid: 400,
init: 'sparse_init: 30',
bias: 0,
col_norm: 4.390266941491841,
num_pieces: 2
}
y: {
init: 'sparse_init: 20',
col_norm: 2.6839111498943513,
}
regre: {
init: 'irange: 0.005',
min_beta: 1.,
max_beta: 100.,
beta_lr_scale: 1.,
}
alpha_layers: '[0.9, 0.1]'
## SGD Params ##
learning_rate: 0.02
lr_sat: 80
lr_decay: 0.04
init_momentum: 0.5
final_momentum: 0.99
msat: 64
max_epochs: 100
batch_size: 32
### evaluate on whole image escenario ###
stride: 30