-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparams.yaml
110 lines (101 loc) · 2.47 KB
/
params.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
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
# WARNING: Some options are mutually exclusive.
# List of incompatible options:
# 'metrics.use_lr_masks: true' and metrics: 'metrics.loss: SSIM'/'metrics.loss: LPIPS'.
SIMPLE_CONV:
load:
# Supported datasets: 'NIR', 'RED'
dataset: NIR
# Must be divisible by three.
input_shape:
- 378
- 378
- 1
# Supported options: int or 'null'
limit_per_scene: null
batch_size: 8
validation_split: 0.8
preprocess:
match_hist: true
artificial_lr: false
# Supported modes: 'NEAREST', 'BILINEAR', 'BICUBIC', 'LANCZOS'
interpolation_mode: BICUBIC
train:
lr: 0.0001
epochs: 100
# Supported losses: 'MAE', 'MSE', 'SSIM', 'LPIPS'
loss: MSE
use_lr_masks: true
callbacks:
tensorboard: true
modelcheckpoint: true
save_best_only: true
earlystopping: true
stopping_delta: 0.0
stopping_patience: 5
preview: true
UNET:
load:
# Supported datasets: 'NIR', 'RED'
dataset: NIR
# Must be divisible by three.
input_shape:
- 378
- 378
- 1
# Supported options: int or 'null'
limit_per_scene: null
batch_size: 8
validation_split: 0.8
preprocess:
match_hist: true
artificial_lr: false
# Supported modes: 'NEAREST', 'BILINEAR', 'BICUBIC', 'LANCZOS'
interpolation_mode: BICUBIC
train:
lr: 0.0001
epochs: 100
# Supported losses: 'MAE', 'MSE', 'SSIM', 'LPIPS'
loss: SSIM
use_lr_masks: false
callbacks:
tensorboard: true
modelcheckpoint: true
save_best_only: true
earlystopping: true
stopping_delta: 0.0
stopping_patience: 5
preview: true
GAN:
load:
# Supported datasets: 'NIR', 'RED'
dataset: NIR
# Must be divisible by three.
input_shape:
- 378
- 378
- 1
# Supported options: int or 'null'
limit_per_scene: null
batch_size: 8
validation_split: 0.8
preprocess:
match_hist: true
artificial_lr: false
# Supported modes: 'NEAREST', 'BILINEAR', 'BICUBIC', 'LANCZOS'
interpolation_mode: BICUBIC
train:
lr:
discriminator: 0.0001
generator: 0.0001
epochs: 100
loss: BINARY_CROSSENTROPY
use_lr_masks: false
callbacks:
tensorboard: true
modelcheckpoint: true
save_best_only: false
# Earlystopping is currently not supported for GAN
earlystopping: false
stopping_delta: 0.0
stopping_patience: 0
preview: true