-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathconfig.json
42 lines (40 loc) · 887 Bytes
/
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
{
"name": "FOTS",
"cuda": true,
"gpus": [0],
"data_loader": {
"dataset":"icdar2015",
"data_dir": "./datasets/ICDAR2015",
"batch_size": 1,
"shuffle": true,
"workers": 4
},
"validation": {
"validation_split": 0.1,
"shuffle": true
},
"lr_scheduler_type": "ExponentialLR",
"lr_scheduler_freq": 10000,
"lr_scheduler": {
"gamma": 0.94
},
"optimizer_type": "Adam",
"optimizer": {
"lr": 0.0001,
"weight_decay": 1e-5
},
"loss": "FOTSLoss",
"metrics": ["my_metric", "my_metric2"],
"trainer": {
"epochs": 100000,
"save_dir": "saved/",
"save_freq": 1,
"verbosity": 2,
"monitor": "val_loss",
"monitor_mode": "min"
},
"arch": "FOTSModel",
"model": {
"mode": "detection"
}
}