-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
65 lines (61 loc) · 1.32 KB
/
config.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
{
"name": "Hdr3DGan",
"n_gpu": 1,
"arch_generator": {
"type": "Generator",
"args": {}
},
"arch_discriminator": {
"type": "Discriminator",
"args": {}
},
"data_loader": {
"type": "HdrDataLoader",
"args":{
"data_dir": "data/",
"batch_size": 8,
"shuffle": true,
"validation_split": 0.1,
"num_workers": 1
}
},
"optimizer_g": {
"type": "Adam",
"args":{
"lr": 0.005,
"weight_decay": 0,
"amsgrad": true
}
},
"optimizer_d": {
"type": "Adam",
"args":{
"lr": 0.005,
"weight_decay": 0,
"amsgrad": true
}
},
"generator_loss": "l1_loss",
"discriminator_loss":"cross_entropy_loss",
"adversarial_loss":"cross_entropy_adversarial",
"metrics": [
"psnr"
],
"lr_scheduler": {
"type": "StepLR",
"args": {
"step_size": 3,
"gamma": 0.1
}
},
"trainer": {
"epochs": 10,
"pre_training_iterations": 50,
"save_dir": "saved/",
"save_period": 1,
"verbosity": 2,
"monitor": "max val_psnr",
"early_stop": 10,
"tensorboard": true
}
}