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grad_batches: 1
3
+ audio_num_mel_bins: 128
4
+ audio_sample_rate: 44100
5
+ binarization_args:
6
+ shuffle: false
7
+ with_align: true
8
+ with_f0: true
9
+ with_hubert: true
10
+ with_spk_embed: false
11
+ with_wav: false
12
+ binarizer_cls: preprocessing.SVCpre.SVCBinarizer
13
+ binary_data_dir: data/binary/rewrite
14
+ check_val_every_n_epoch: 10
15
+ choose_test_manually: false
16
+ clip_grad_norm: 1
17
+ config_path: training/config_nsf.yaml
18
+ content_cond_steps: []
19
+ cwt_add_f0_loss: false
20
+ cwt_hidden_size: 128
21
+ cwt_layers: 2
22
+ cwt_loss: l1
23
+ cwt_std_scale: 0.8
24
+ datasets:
25
+ - opencpop
26
+ debug: false
27
+ dec_ffn_kernel_size: 9
28
+ dec_layers: 4
29
+ decay_steps: 40000
30
+ decoder_type: fft
31
+ dict_dir: ''
32
+ diff_decoder_type: wavenet
33
+ diff_loss_type: l2
34
+ dilation_cycle_length: 4
35
+ dropout: 0.1
36
+ ds_workers: 4
37
+ dur_enc_hidden_stride_kernel:
38
+ - 0,2,3
39
+ - 0,2,3
40
+ - 0,1,3
41
+ dur_loss: mse
42
+ dur_predictor_kernel: 3
43
+ dur_predictor_layers: 5
44
+ enc_ffn_kernel_size: 9
45
+ enc_layers: 4
46
+ encoder_K: 8
47
+ encoder_type: fft
48
+ endless_ds: false
49
+ f0_bin: 256
50
+ f0_max: 1100.0
51
+ f0_min: 40.0
52
+ ffn_act: gelu
53
+ ffn_padding: SAME
54
+ fft_size: 2048
55
+ fmax: 16000
56
+ fmin: 40
57
+ fs2_ckpt: ''
58
+ gaussian_start: true
59
+ gen_dir_name: ''
60
+ gen_tgt_spk_id: -1
61
+ hidden_size: 256
62
+ hop_size: 512
63
+ hubert_gpu: true
64
+ hubert_path: checkpoints/hubert/hubert_soft.pt
65
+ infer: false
66
+ keep_bins: 128
67
+ lambda_commit: 0.25
68
+ lambda_energy: 0.0
69
+ lambda_f0: 1.0
70
+ lambda_ph_dur: 0.3
71
+ lambda_sent_dur: 1.0
72
+ lambda_uv: 1.0
73
+ lambda_word_dur: 1.0
74
+ load_ckpt: ''
75
+ log_interval: 100
76
+ loud_norm: false
77
+ lr: 0.0012
78
+ max_beta: 0.02
79
+ max_epochs: 3000
80
+ max_eval_sentences: 1
81
+ max_eval_tokens: 60000
82
+ max_frames: 42000
83
+ max_input_tokens: 60000
84
+ max_sentences: 80
85
+ max_tokens: 128000
86
+ max_updates: 1000000
87
+ mel_loss: ssim:0.5|l1:0.5
88
+ mel_vmax: 1.5
89
+ mel_vmin: -6.0
90
+ min_level_db: -120
91
+ no_fs2: true
92
+ norm_type: gn
93
+ num_ckpt_keep: 10
94
+ num_heads: 2
95
+ num_sanity_val_steps: 1
96
+ num_spk: 1
97
+ num_test_samples: 0
98
+ num_valid_plots: 10
99
+ optimizer_adam_beta1: 0.9
100
+ optimizer_adam_beta2: 0.98
101
+ out_wav_norm: false
102
+ pe_ckpt: checkpoints/0102_xiaoma_pe/model_ckpt_steps_60000.ckpt
103
+ pe_enable: false
104
+ perform_enhance: true
105
+ pitch_ar: false
106
+ pitch_enc_hidden_stride_kernel:
107
+ - 0,2,5
108
+ - 0,2,5
109
+ - 0,2,5
110
+ pitch_extractor: parselmouth
111
+ pitch_loss: l2
112
+ pitch_norm: log
113
+ pitch_type: frame
114
+ pndm_speedup: 10
115
+ pre_align_args:
116
+ allow_no_txt: false
117
+ denoise: false
118
+ forced_align: mfa
119
+ txt_processor: zh_g2pM
120
+ use_sox: true
121
+ use_tone: false
122
+ pre_align_cls: data_gen.singing.pre_align.SingingPreAlign
123
+ predictor_dropout: 0.5
124
+ predictor_grad: 0.1
125
+ predictor_hidden: -1
126
+ predictor_kernel: 5
127
+ predictor_layers: 5
128
+ prenet_dropout: 0.5
129
+ prenet_hidden_size: 256
130
+ pretrain_fs_ckpt: ''
131
+ processed_data_dir: xxx
132
+ profile_infer: false
133
+ raw_data_dir: data/raw/rewrite
134
+ ref_norm_layer: bn
135
+ rel_pos: true
136
+ reset_phone_dict: true
137
+ residual_channels: 384
138
+ residual_layers: 20
139
+ save_best: false
140
+ save_ckpt: true
141
+ save_codes:
142
+ - configs
143
+ - modules
144
+ - src
145
+ - utils
146
+ save_f0: true
147
+ save_gt: false
148
+ schedule_type: linear
149
+ seed: 1234
150
+ sort_by_len: true
151
+ speaker_id: rewrite
152
+ spec_max:
153
+ - -0.013646591454744339
154
+ - -0.03492093086242676
155
+ - -0.023477505892515182
156
+ - 0.2240731418132782
157
+ - 0.5360018610954285
158
+ - 0.5375948548316956
159
+ - 0.7070308327674866
160
+ - 0.6859050989151001
161
+ - 0.6795750856399536
162
+ - 0.7403997778892517
163
+ - 0.6734148263931274
164
+ - 0.6695026755332947
165
+ - 0.7384544610977173
166
+ - 0.7818752527236938
167
+ - 0.8294143676757812
168
+ - 0.8030390739440918
169
+ - 0.8277796506881714
170
+ - 0.7842329740524292
171
+ - 0.7762189507484436
172
+ - 0.8058144450187683
173
+ - 0.7267101407051086
174
+ - 0.6962370276451111
175
+ - 0.7303498983383179
176
+ - 0.6225879788398743
177
+ - 0.6888490319252014
178
+ - 0.7364280223846436
179
+ - 0.6153574585914612
180
+ - 0.707781195640564
181
+ - 0.759908139705658
182
+ - 0.6678041219711304
183
+ - 0.6939466595649719
184
+ - 0.7447654008865356
185
+ - 0.7110893130302429
186
+ - 0.7236943244934082
187
+ - 0.7394376397132874
188
+ - 0.6850912570953369
189
+ - 0.6462180614471436
190
+ - 0.6484248042106628
191
+ - 0.7520641088485718
192
+ - 0.616317093372345
193
+ - 0.6223531365394592
194
+ - 0.6242066621780396
195
+ - 0.584526538848877
196
+ - 0.5907259583473206
197
+ - 0.5729789137840271
198
+ - 0.6080450415611267
199
+ - 0.5875643491744995
200
+ - 0.5783573985099792
201
+ - 0.6163155436515808
202
+ - 0.5643542408943176
203
+ - 0.509316623210907
204
+ - 0.5033355355262756
205
+ - 0.5178366303443909
206
+ - 0.435567170381546
207
+ - 0.5041572451591492
208
+ - 0.4857909083366394
209
+ - 0.441276878118515
210
+ - 0.45493438839912415
211
+ - 0.48246824741363525
212
+ - 0.39058661460876465
213
+ - 0.3842998743057251
214
+ - 0.38674700260162354
215
+ - 0.35111427307128906
216
+ - 0.3330616056919098
217
+ - 0.3221135139465332
218
+ - 0.25813382863998413
219
+ - 0.2895975708961487
220
+ - 0.25998613238334656
221
+ - 0.28663650155067444
222
+ - 0.2345530092716217
223
+ - 0.14880014955997467
224
+ - 0.08881813287734985
225
+ - 0.08260829001665115
226
+ - 0.2093590795993805
227
+ - 0.0817270427942276
228
+ - 0.15079361200332642
229
+ - 0.14103257656097412
230
+ - 0.08314933627843857
231
+ - 0.12403995543718338
232
+ - 0.11101309210062027
233
+ - 0.03476237133145332
234
+ - 0.05545520782470703
235
+ - 0.09279946237802505
236
+ - 0.14412818849086761
237
+ - 0.05606376752257347
238
+ - 0.08092702925205231
239
+ - 0.08070675283670425
240
+ - 0.04966948926448822
241
+ - 0.06069479137659073
242
+ - 0.023000987246632576
243
+ - -0.013332114554941654
244
+ - -0.10289011895656586
245
+ - -0.13337981700897217
246
+ - 0.027412841096520424
247
+ - -0.11937981098890305
248
+ - -0.11094077676534653
249
+ - -0.14477558434009552
250
+ - -0.10545164346694946
251
+ - -0.24568623304367065
252
+ - -0.24235208332538605
253
+ - -0.34665119647979736
254
+ - -0.2769622206687927
255
+ - -0.27357393503189087
256
+ - -0.35512396693229675
257
+ - -0.2698093354701996
258
+ - -0.17397552728652954
259
+ - -0.19787748157978058
260
+ - -0.26635631918907166
261
+ - -0.16491562128067017
262
+ - -0.3416293263435364
263
+ - -0.2779384255409241
264
+ - -0.46012505888938904
265
+ - -0.37809446454048157
266
+ - -0.3575749099254608
267
+ - -0.19189275801181793
268
+ - -0.14034831523895264
269
+ - -0.3368651270866394
270
+ - -0.42712533473968506
271
+ - -0.37624332308769226
272
+ - -0.544425368309021
273
+ - -0.5833626389503479
274
+ - -0.5845077633857727
275
+ - -0.7097123265266418
276
+ - -0.7711118459701538
277
+ - -0.8836023211479187
278
+ - -0.9094525575637817
279
+ - -0.928654134273529
280
+ - -0.8916470408439636
281
+ spec_min:
282
+ - -4.999994277954102
283
+ - -4.999994277954102
284
+ - -4.999994277954102
285
+ - -4.999994277954102
286
+ - -4.999994277954102
287
+ - -4.999994277954102
288
+ - -4.999994277954102
289
+ - -4.999994277954102
290
+ - -4.999994277954102
291
+ - -4.999994277954102
292
+ - -4.999994277954102
293
+ - -4.999994277954102
294
+ - -4.999994277954102
295
+ - -4.999994277954102
296
+ - -4.999994277954102
297
+ - -4.999994277954102
298
+ - -4.999994277954102
299
+ - -4.999994277954102
300
+ - -4.999994277954102
301
+ - -4.999994277954102
302
+ - -4.999994277954102
303
+ - -4.999994277954102
304
+ - -4.999994277954102
305
+ - -4.999994277954102
306
+ - -4.999994277954102
307
+ - -4.999994277954102
308
+ - -4.999994277954102
309
+ - -4.999994277954102
310
+ - -4.999994277954102
311
+ - -4.999994277954102
312
+ - -4.999994277954102
313
+ - -4.999994277954102
314
+ - -4.999994277954102
315
+ - -4.999994277954102
316
+ - -4.999994277954102
317
+ - -4.999994277954102
318
+ - -4.999994277954102
319
+ - -4.999994277954102
320
+ - -4.999994277954102
321
+ - -4.999994277954102
322
+ - -4.999994277954102
323
+ - -4.999994277954102
324
+ - -4.999994277954102
325
+ - -4.999994277954102
326
+ - -4.999994277954102
327
+ - -4.999994277954102
328
+ - -4.999994277954102
329
+ - -4.999994277954102
330
+ - -4.999994277954102
331
+ - -4.999994277954102
332
+ - -4.999994277954102
333
+ - -4.999994277954102
334
+ - -4.999994277954102
335
+ - -4.999994277954102
336
+ - -4.999994277954102
337
+ - -4.999994277954102
338
+ - -4.999994277954102
339
+ - -4.999994277954102
340
+ - -4.999994277954102
341
+ - -4.999994277954102
342
+ - -4.999994277954102
343
+ - -4.999994277954102
344
+ - -4.999994277954102
345
+ - -4.999994277954102
346
+ - -4.999994277954102
347
+ - -4.999994277954102
348
+ - -4.999994277954102
349
+ - -4.999994277954102
350
+ - -4.999994277954102
351
+ - -4.999994277954102
352
+ - -4.999994277954102
353
+ - -4.999994277954102
354
+ - -4.999994277954102
355
+ - -4.999994277954102
356
+ - -4.999994277954102
357
+ - -4.999994277954102
358
+ - -4.999994277954102
359
+ - -4.999994277954102
360
+ - -4.999994277954102
361
+ - -4.999994277954102
362
+ - -4.999994277954102
363
+ - -4.999994277954102
364
+ - -4.999994277954102
365
+ - -4.999994277954102
366
+ - -4.999994277954102
367
+ - -4.999994277954102
368
+ - -4.999994277954102
369
+ - -4.999994277954102
370
+ - -4.999994277954102
371
+ - -4.999994277954102
372
+ - -4.999994277954102
373
+ - -4.999994277954102
374
+ - -4.999994277954102
375
+ - -4.999994277954102
376
+ - -4.999994277954102
377
+ - -4.999994277954102
378
+ - -4.999994277954102
379
+ - -4.999994277954102
380
+ - -4.999994277954102
381
+ - -4.999994277954102
382
+ - -4.999994277954102
383
+ - -4.999994277954102
384
+ - -4.999994277954102
385
+ - -4.999994277954102
386
+ - -4.999994277954102
387
+ - -4.999994277954102
388
+ - -4.999994277954102
389
+ - -4.999994277954102
390
+ - -4.999994277954102
391
+ - -4.999994277954102
392
+ - -4.999994277954102
393
+ - -4.999994277954102
394
+ - -4.999994277954102
395
+ - -4.999994277954102
396
+ - -4.999994277954102
397
+ - -4.999994277954102
398
+ - -4.999994277954102
399
+ - -4.999994277954102
400
+ - -4.999994277954102
401
+ - -4.999994277954102
402
+ - -4.999994277954102
403
+ - -4.999994277954102
404
+ - -4.999994277954102
405
+ - -4.999994277954102
406
+ - -4.999994277954102
407
+ - -4.999994277954102
408
+ - -4.999994277954102
409
+ - -4.999994277954102
410
+ spk_cond_steps: []
411
+ stop_token_weight: 5.0
412
+ task_cls: training.task.SVC_task.SVCTask
413
+ test_ids: []
414
+ test_input_dir: ''
415
+ test_num: 0
416
+ test_prefixes:
417
+ - test
418
+ test_set_name: test
419
+ timesteps: 1000
420
+ train_set_name: train
421
+ use_crepe: true
422
+ use_denoise: false
423
+ use_energy_embed: false
424
+ use_gt_dur: false
425
+ use_gt_f0: false
426
+ use_midi: false
427
+ use_nsf: true
428
+ use_pitch_embed: true
429
+ use_pos_embed: true
430
+ use_spk_embed: false
431
+ use_spk_id: false
432
+ use_split_spk_id: false
433
+ use_uv: false
434
+ use_var_enc: false
435
+ use_vec: false
436
+ val_check_interval: 2000
437
+ valid_num: 0
438
+ valid_set_name: valid
439
+ vocoder: network.vocoders.nsf_hifigan.NsfHifiGAN
440
+ vocoder_ckpt: checkpoints/nsf_hifigan/model
441
+ warmup_updates: 2000
442
+ wav2spec_eps: 1e-6
443
+ weight_decay: 0
444
+ win_size: 2048
445
+ work_dir: checkpoints/rewrite