-
Notifications
You must be signed in to change notification settings - Fork 2
/
config_unet.json
80 lines (71 loc) · 1.65 KB
/
config_unet.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "JITNet",
"n_gpu": 4,
"use_synch_bn": false,
"arch": {
"type": "UNet",
"args": {
"freeze_bn": false
}
},
"train_loader": {
"type": "COCO",
"args":{
"partition": "CocoStuff164k",
"data_dir": "/home/cfan/coco2017/",
"batch_size": 24,
"base_size": 400,
"crop_size": 380,
"augment": true,
"shuffle": true,
"scale": true,
"flip": true,
"rotate": true,
"blur": false,
"split": "train2017",
"num_workers": 8,
"things_only": false
}
},
"val_loader": {
"type": "COCO",
"args":{
"partition": "CocoStuff164k",
"data_dir": "/home/cfan/coco2017",
"batch_size": 8,
"crop_size": 400,
"val": true,
"split": "val2017",
"num_workers": 4,
"things_only": false
}
},
"optimizer": {
"type": "SGD",
"differential_lr": false,
"args":{
"lr": 0.01,
"weight_decay": 1e-4,
"momentum": 0.9
}
},
"loss": "CrossEntropyLoss2d",
"ignore_index": 255,
"lr_scheduler": {
"type": "Poly",
"args": {
}
},
"trainer": {
"epochs": 100,
"save_dir": "saved/",
"save_period": 1,
"monitor": "max Mean_IoU",
"early_stop": 10,
"tensorboard": true,
"log_dir": "saved/runs",
"log_per_iter": 20,
"val": true,
"val_per_epochs": 1
}
}