-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.yaml
74 lines (68 loc) · 912 Bytes
/
config.yaml
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
# paths
paths:
train: './data'
valid: './data'
checkpoint: 'data/models'
logs: 'data/logs'
# lookups
lookups:
train: 'train.txt'
valid: 'valid.txt'
debug: 'debug_list.txt'
# shapes
shapes:
image:
- 192
- 192
- 3
mask:
- 192
- 192
- 1
image_generator:
- 10
- 192
- 192
- 3
mask_generator:
- 10
- 192
- 192
- 1
debug_image_generator:
- 2
- 192
- 192
- 3
debug_mask_generator:
- 2
- 192
- 192
- 1
# batch params
batch:
size: 10
debug_size: 2
# loss params
loss:
alpha: 0.7
beta: 0.3
gamma: 0.75
smooth: 1e-6
# train params
training:
lr: 0.001
epochs: 50
debug_epochs: 2
augmentations:
- 'flip'
- 'rotate'
augment_proba: 0.4
# model params
model:
name: 'MobileUNet'
train_encoder: True
weights: 'cityscapes'
weight_decay: True
mode: 'binary'
n_classes: 1