-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
57 lines (53 loc) · 1.16 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
{
"name": "WRS_Adaptive_Patching",
"n_gpu": 1,
"arch": {
"type": "UNet",
"args": {
"n_channels": 3,
"n_classes": 2
}
},
"data_loader": {
"type": "PatchedDataLoader",
"args":{
"data_dir": "/scratch/sukhan/wrs/datads-cv/",
"patch_size": 128,
"batch_size": 64,
"patch_stride": 32,
"target_dist": 0.01,
"shuffle": true,
"validation_split": 0.1,
"num_workers": 8
}
},
"optimizer": {
"type": "RMSprop",
"args":{
"lr": 1e-6,
"weight_decay": 0
}
},
"loss": "focal_loss",
"metrics": [
"precision",
"recall",
"f1_score"
],
"lr_scheduler": {
"type": "ExponentialLR",
"args": {
"gamma": 0.998
}
},
"trainer": {
"epochs": 500,
"adaptive_step": 5,
"save_dir": "/scratch/sukhan/wrs/saved/",
"save_period": 1,
"verbosity": 2,
"monitor": "min val_loss",
"early_stop": 50,
"tensorboard": true
}
}