-
Notifications
You must be signed in to change notification settings - Fork 80
/
config.json
57 lines (55 loc) · 2.72 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" : "Urban Testing",
"data" : {
"type" : "CSVDataManager",
"path" : "/home/kiran/Documents/DATA/UrbanSound8K",
"format" : "audio",
"loader" : {
"shuffle" : true,
"batch_size" : 24,
"num_workers" : 4,
"drop_last" : true
},
"splits" : {
"train" : [1,2,3,4,5,6,7,8,9],
"val" : [10]
}
},
"transforms" : {
"type" : "AudioTransforms",
"args" : {
"channels" : "avg",
"noise" : [0.3, 0.001],
"crop" : [0.4, 0.25]
}
},
"optimizer" : {
"type" : "Adam",
"args" : {
"lr" : 0.002,
"weight_decay" : 0.01,
"amsgrad" : true
}
},
"lr_scheduler" : {
"type" : "StepLR",
"args" : {
"step_size" : 10,
"gamma" : 0.5
}
},
"model" : {
"type" : "AudioCRNN"
},
"train" : {
"loss" : "nll_loss",
"epochs" : 100,
"save_dir" : "saved_cv/",
"save_p" : 1,
"verbosity" : 2,
"monitor" : "min val_loss",
"early_stop": 8,
"tbX" : true
},
"metrics" : "classification_metrics"
}