-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwavenet_config.json
63 lines (63 loc) · 1.13 KB
/
wavenet_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
62
63
{
"name": "wavenet-vocoder",
"n_gpu": 2,
"arch": {
"type": "WaveNet",
"args": {
"n_blocks": 2,
"n_layers": 10,
"classes": 256,
"radix": 2,
"descending": false,
"aux_channels": 80,
"dilation_channels": 128,
"residual_channels": 256,
"skip_channels": 256
}
},
"data_loader": {
"type": "RandomWaveFileLoader",
"args": {
"data_dir": "data/",
"batch_size": 10,
"num_workers": 2,
"segment": 5000,
"quantization_channels": 256,
"injected_noise": false
}
},
"optimizer": {
"type": "Adam",
"args": {
"lr": 2e-4
}
},
"loss": "cross_entropy",
"lr_scheduler": {
"type": "StepLR",
"args": {
"step_size": 100000,
"gamma": 0.5
}
},
"trainer": {
"steps": 500000,
"save_dir": "saved/",
"save_freq": 50000,
"verbosity": 2
},
"visualization": {
"tensorboardX": true,
"log_dir": "saved/runs"
},
"feature": {
"type": "get_logmel",
"args": {
"sr": 22050,
"n_fft": 1024,
"hop_length": 128,
"n_mels":80,
"fmax": 8000
}
}
}