-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
42 lines (41 loc) · 917 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
{
"dictionary": "keys.json",
"name": "FOTS",
"cuda": true,
"gpus": [1],
"data_loader": {
"dataset":"synth800k",
"data_dir": "/Users/macbook/Documents/Cinnamon/E2E/dataset/data_v1",
"batch_size": 5,
"shuffle": true,
"workers": 0
},
"validation": {
"validation_split": 0.2,
"shuffle": true,
"val_interval": 2
},
"lr_scheduler_type": "",
"lr_scheduler_freq": 10000,
"lr_scheduler": {
"gamma": 0.94
},
"optimizer_type": "Adam",
"optimizer": {
"lr": 0.001
},
"loss": "FOTSLoss",
"metrics": ["fots_metric"],
"trainer": {
"epochs": 5,
"save_dir": "saved_models/",
"save_freq": 1,
"verbosity": 2,
"monitor": "hmean",
"monitor_mode": "max"
},
"arch": "FOTSModel",
"model": {
"mode": "united"
}
}