-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
61 lines (57 loc) · 1.26 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
{
"name": "WaveNet_Mobility",
"n_gpu": 0,
"arch": {
"type": "WaveNetModel",
"args": {
"n_layers": 4,
"n_blocks": 2,
"n_dilation_channels": 32,
"n_residual_channels": 32,
"n_skip_channels": 32,
"n_end_channels": 2,
"n_classes": 256,
"output_length": 1,
"kernel_size": 2,
"bias": true
}
},
"data_loader": {
"type": "MobilityDataLoader",
"args":{
"data_dir": "data",
"batch_size": 32,
"shuffle": true,
"validation_split": 0.1,
"num_workers": 8
}
},
"optimizer": {
"type": "Adam",
"args":{
"lr": 0.001,
"weight_decay": 1e-5,
"amsgrad": true
}
},
"loss": "MSELoss",
"metrics": [
"rmse_loss"
],
"lr_scheduler": {
"type": "StepLR",
"args": {
"step_size": 50,
"gamma": 0.1
}
},
"trainer": {
"epochs": 50,
"save_dir": "saved/",
"save_period": 1,
"verbosity": 2,
"monitor": "min val_loss",
"early_stop": 5,
"tensorboard": true
}
}