-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdefault_config.yml
59 lines (51 loc) · 1.22 KB
/
default_config.yml
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
### EXECUTION SETTING ###
# The using GPU ID
cuda_id: 0
# whether you use comet-ml for visualizing the training procedure
comet: False
# The Running mode (train or test)
mode: test
# fine-tuning specify the ckpt dir name you want to load the model params.
# if you want to turn off the fine-tuning mode Set to .
finetune: False
# The state path which you want to resume the training
resume: False
### TRAINING PARAMETERS ###
# the number of max iteration
max_iter: 200000
# the batch size
batch_size: 18
### DATA AUGMENTATION ###
# the mask augmentaiton flag
mask_augment: False
### NETWORK SETTING ###
# UNet layer size
layer_size: 7
### LOSS PARAMETERS ###
valid_coef: 1.0
hole_coef: 6.0
tv_coef: 0.1
perc_coef: 0.05
style_coef: 120.0
# total variation calcuration method (mean or sum)
tv_loss: mean
### OPTIMIZATION PARAMETERS ###
optim: Adam
initial_lr: 0.0002
finetune_lr: 0.0005
momentum: 0
weight_decay: 0
### LOG INTERVALS ###
# viaulizing the output images
vis_interval: 1000
# saving the model
save_model_interval: 50000
# printing the losses to standard output line
log_interval: 100
### DIRECTORY PATH ###
data_root: ~/data
ckpt: ckpt
### COMET ML SETTING ###
api_key: api_key
project_name: project_name
workspace: user_name