Setsugesuka commited on
Commit
5316f67
1 Parent(s): 5cb6986

Upload 13 files

Browse files
diffwave/args.json ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_config": "egs/vocoder/diffusion/exp_config_base.json",
3
+ "dataset": [
4
+ "csd",
5
+ "m4singer",
6
+ "opencpop",
7
+ "opensinger",
8
+ "pjs",
9
+ "popcs",
10
+ "ljspeech",
11
+ "vctk",
12
+ ],
13
+ "dataset_path": {
14
+ "csd": "[dataset path]",
15
+ "kising": "[dataset path]",
16
+ "libritts": "[dataset path]",
17
+ "ljspeech": "[dataset path]",
18
+ "m4singer": "[dataset path]",
19
+ "nus48e": "[dataset path]",
20
+ "opencpop": "[dataset path]",
21
+ "opensinger": "[dataset path]",
22
+ "opera": "[dataset path]",
23
+ "pjs": "[dataset path]",
24
+ "popbutfy": "[dataset path]",
25
+ "popcs": "[dataset path]",
26
+ "vctk": "[dataset path]",
27
+ },
28
+ "exp_name": "diff_pretrain_2",
29
+ "inference": {
30
+ "batch_size": 1,
31
+ },
32
+ "log_dir": "ckpts/vocoder",
33
+ "model": {
34
+ "diffwave": {
35
+ "dilation_cycle_length": 10,
36
+ "inference_noise_schedule": [
37
+ 0.0001,
38
+ 0.001,
39
+ 0.01,
40
+ 0.05,
41
+ 0.2,
42
+ 0.5,
43
+ ],
44
+ "noise_schedule": [
45
+ 0.0001,
46
+ 0.0011183673469387756,
47
+ 0.002136734693877551,
48
+ 0.0031551020408163264,
49
+ 0.004173469387755102,
50
+ 0.005191836734693878,
51
+ 0.006210204081632653,
52
+ 0.007228571428571429,
53
+ 0.008246938775510203,
54
+ 0.009265306122448979,
55
+ 0.010283673469387754,
56
+ 0.01130204081632653,
57
+ 0.012320408163265305,
58
+ 0.013338775510204081,
59
+ 0.014357142857142857,
60
+ 0.015375510204081632,
61
+ 0.016393877551020408,
62
+ 0.017412244897959183,
63
+ 0.01843061224489796,
64
+ 0.019448979591836734,
65
+ 0.02046734693877551,
66
+ 0.021485714285714285,
67
+ 0.02250408163265306,
68
+ 0.023522448979591836,
69
+ 0.02454081632653061,
70
+ 0.025559183673469387,
71
+ 0.026577551020408163,
72
+ 0.027595918367346938,
73
+ 0.028614285714285714,
74
+ 0.02963265306122449,
75
+ 0.030651020408163265,
76
+ 0.031669387755102044,
77
+ 0.03268775510204082,
78
+ 0.033706122448979595,
79
+ 0.03472448979591837,
80
+ 0.035742857142857146,
81
+ 0.03676122448979592,
82
+ 0.0377795918367347,
83
+ 0.03879795918367347,
84
+ 0.03981632653061225,
85
+ 0.04083469387755102,
86
+ 0.0418530612244898,
87
+ 0.042871428571428574,
88
+ 0.04388979591836735,
89
+ 0.044908163265306125,
90
+ 0.0459265306122449,
91
+ 0.046944897959183676,
92
+ 0.04796326530612245,
93
+ 0.04898163265306123,
94
+ 0.05,
95
+ ],
96
+ "noise_schedule_factors": [
97
+ 0.0001,
98
+ 0.05,
99
+ 50,
100
+ ],
101
+ "residual_channels": 64,
102
+ "residual_layers": 30,
103
+ "upsample_factors": [
104
+ 16,
105
+ 16,
106
+ ],
107
+ },
108
+ "generator": "diffwave",
109
+ },
110
+ "model_type": "DiffusionVocoder",
111
+ "preprocess": {
112
+ "align_mel_duration": false,
113
+ "audio_dir": "audios",
114
+ "bits": 8,
115
+ "contentvec_dir": "contentvec",
116
+ "cut_mel_frame": 32,
117
+ "data_augment": false,
118
+ "dur_dir": "durs",
119
+ "duration_dir": "duration",
120
+ "emo2id": "emo2id.json",
121
+ "energy_dir": "energys",
122
+ "energy_extract_mode": "from_mel",
123
+ "energy_norm": false,
124
+ "energy_remove_outlier": false,
125
+ "extract_acoustic_token": false,
126
+ "extract_amplitude_phase": false,
127
+ "extract_audio": true,
128
+ "extract_contentvec_feature": false,
129
+ "extract_duration": false,
130
+ "extract_energy": false,
131
+ "extract_label": false,
132
+ "extract_linear_spec": false,
133
+ "extract_mcep": false,
134
+ "extract_mel": true,
135
+ "extract_mert_feature": false,
136
+ "extract_one_hot": false,
137
+ "extract_phone": false,
138
+ "extract_pitch": false,
139
+ "extract_uv": false,
140
+ "extract_wenet_feature": false,
141
+ "extract_whisper_feature": false,
142
+ "f0_max": 1100,
143
+ "f0_min": 50,
144
+ "file_lst": "file.lst",
145
+ "fmax": 12000,
146
+ "fmin": 0,
147
+ "hop_size": 256,
148
+ "imaginary_dir": "imaginarys",
149
+ "is_mu_law": false,
150
+ "lab_dir": "labs",
151
+ "label_dir": "labels",
152
+ "lexicon_path": "./text/lexicon/librispeech-lexicon.txt",
153
+ "linear_dir": "linears",
154
+ "log_amplitude_dir": "log_amplitudes",
155
+ "mcep_dir": "mcep",
156
+ "mel_dir": "mels",
157
+ "mel_extract_mode": "",
158
+ "mel_min_max_norm": false,
159
+ "min_level_db": -115,
160
+ "n_fft": 1024,
161
+ "n_mel": 100,
162
+ "num_silent_frames": 8,
163
+ "phase_dir": "phases",
164
+ "phone_dir": "phones",
165
+ "phone_energy_dir": "phone_energys",
166
+ "phone_extractor": "espeak",
167
+ "phone_pitch_dir": "phone_pitches",
168
+ "phone_seq_file": "phone_seq_file",
169
+ "pitch_bin": 256,
170
+ "pitch_dir": "pitches",
171
+ "pitch_extractor": "parselmouth",
172
+ "pitch_max": 1100.0,
173
+ "pitch_min": 50.0,
174
+ "pitch_norm": false,
175
+ "pitch_remove_outlier": false,
176
+ "processed_dir": "/mnt/data1/wangyuancheng/vocoder-processed",
177
+ "raw_data": "raw_data",
178
+ "real_dir": "reals",
179
+ "ref_level_db": 20,
180
+ "sample_rate": 24000,
181
+ "spk2id": "singers.json",
182
+ "symbols_dict": "symbols.dict",
183
+ "train_file": "train.json",
184
+ "trim_fft_size": 512,
185
+ "trim_hop_size": 128,
186
+ "trim_silence": false,
187
+ "trim_top_db": 30,
188
+ "trimmed_wav_dir": "trimmed_wavs",
189
+ "use_amplitude_phase": false,
190
+ "use_audio": true,
191
+ "use_dur": false,
192
+ "use_emoid": false,
193
+ "use_frame_duration": false,
194
+ "use_frame_energy": false,
195
+ "use_frame_pitch": false,
196
+ "use_lab": false,
197
+ "use_label": false,
198
+ "use_linear": false,
199
+ "use_log_scale_energy": false,
200
+ "use_log_scale_pitch": false,
201
+ "use_mel": true,
202
+ "use_min_max_norm_mel": false,
203
+ "use_one_hot": false,
204
+ "use_phn_seq": false,
205
+ "use_phone": false,
206
+ "use_phone_duration": false,
207
+ "use_phone_energy": false,
208
+ "use_phone_pitch": false,
209
+ "use_spkid": false,
210
+ "use_text": false,
211
+ "use_uv": false,
212
+ "use_wav": false,
213
+ "use_wenet": false,
214
+ "utt2emo": "utt2emo",
215
+ "utt2spk": "utt2spk",
216
+ "uv_dir": "uvs",
217
+ "valid_file": "test.json",
218
+ "wav_dir": "wavs",
219
+ "wenet_dir": "wenet",
220
+ "win_size": 1024,
221
+ },
222
+ "supported_model_type": [
223
+ "GANVocoder",
224
+ "Fastspeech2",
225
+ "DiffSVC",
226
+ "Transformer",
227
+ "EDM",
228
+ "CD",
229
+ ],
230
+ "task_type": "vocoder",
231
+ "train": {
232
+ "adamw": {
233
+ "adam_b1": 0.8,
234
+ "adam_b2": 0.99,
235
+ "lr": 0.0002,
236
+ },
237
+ "batch_size": 64,
238
+ "dataloader": {
239
+ "num_worker": 16,
240
+ "pin_memory": true,
241
+ },
242
+ "ddp": true,
243
+ "exponential_lr": {
244
+ "lr_decay": 0.999,
245
+ },
246
+ "gradient_accumulation_step": 1,
247
+ "keep_checkpoint_max": 5,
248
+ "keep_last": [
249
+ 3,
250
+ -1,
251
+ ],
252
+ "max_epoch": 1000000,
253
+ "max_steps": 1000000,
254
+ "multi_speaker_training": false,
255
+ "optimizer": "AdamW",
256
+ "random_seed": 114514,
257
+ "reducelronplateau": {
258
+ "factor": 0.8,
259
+ "min_lr": 0.0001,
260
+ "patience": 10,
261
+ },
262
+ "run_eval": [
263
+ true,
264
+ ],
265
+ "sampler": {
266
+ "drop_last": true,
267
+ "holistic_shuffle": true,
268
+ },
269
+ "save_checkpoint_stride": [
270
+ 20,
271
+ ],
272
+ "save_checkpoints_steps": 10000,
273
+ "save_summary_steps": 500,
274
+ "scheduler": "ReduceLROnPlateau",
275
+ "total_training_steps": 50000,
276
+ "tracker": [
277
+ "tensorboard",
278
+ ],
279
+ "valid_interval": 10000,
280
+ },
281
+ "use_custom_dataset": false,
282
+ }
diffwave/checkpoint/epoch-1980_step-1311424_loss-0.036577/ckpts.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ [
2
+ []
3
+ ]
diffwave/checkpoint/epoch-1980_step-1311424_loss-0.036577/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:427605c2d934e8937928f8d2254fafcdd125da1ef0868e5348c5789f6ce4841d
3
+ size 21789125
diffwave/checkpoint/epoch-1980_step-1311424_loss-0.036577/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89ab7ca33830d4d208eba6223ec53990103a3930062048da5be1c6071f3122fe
3
+ size 10881477
diffwave/checkpoint/epoch-1980_step-1311424_loss-0.036577/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcecee435a25c95277795387d98a545b91a56030dfacea3e15f3380f0430c8d7
3
+ size 17683
diffwave/checkpoint/epoch-1980_step-1311424_loss-0.036577/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dc48780e11ee11f948d6a344c8ed36341812b3ee3aa1f5c6fe5f9afd199ca78
3
+ size 563
diffwave/samples/sample1.wav ADDED
Binary file (119 kB). View file
 
diffwave/samples/sample2.wav ADDED
Binary file (121 kB). View file
 
diffwave/samples/sample3.wav ADDED
Binary file (91.2 kB). View file
 
diffwave/samples/sample4.wav ADDED
Binary file (73.8 kB). View file
 
diffwave/samples/sample5.wav ADDED
Binary file (65.6 kB). View file
 
diffwave/samples/sample6.wav ADDED
Binary file (77.9 kB). View file
 
diffwave/samples/sample7.wav ADDED
Binary file (77.9 kB). View file