Vahe commited on
Commit
cbed491
1 Parent(s): 7beb277

tts trained model added

Browse files
Files changed (2) hide show
  1. tss_model/config.json +404 -0
  2. tss_model/model_file.pth +3 -0
tss_model/config.json ADDED
@@ -0,0 +1,404 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "../checkpoints/VITS-multilingual/VITS_fixes/new/new-SE/use_noise_aument_false/xlarge-ZS-PT-VCTK/pt-en+LibriTTS-fr/speaker_encoder_as_loss_9_alpha/mixed-p-false-bug-SDP-fixed/",
3
+ "logger_uri": null,
4
+ "run_name": "vits_tts-portuguese",
5
+ "project_name": null,
6
+ "run_description": "",
7
+ "print_step": 25,
8
+ "plot_step": 100,
9
+ "model_param_stats": false,
10
+ "wandb_entity": null,
11
+ "dashboard_logger": "tensorboard",
12
+ "save_on_interrupt": true,
13
+ "log_model_step": 10000,
14
+ "save_step": 10000,
15
+ "save_n_checkpoints": 5,
16
+ "save_checkpoints": true,
17
+ "save_all_best": false,
18
+ "save_best_after": 10000,
19
+ "target_loss": null,
20
+ "print_eval": true,
21
+ "test_delay_epochs": -1,
22
+ "run_eval": true,
23
+ "run_eval_steps": null,
24
+ "distributed_backend": "nccl",
25
+ "distributed_url": "tcp://localhost:54321",
26
+ "mixed_precision": false,
27
+ "precision": "fp16",
28
+ "epochs": 1000,
29
+ "batch_size": 52,
30
+ "eval_batch_size": 52,
31
+ "grad_clip": [
32
+ 5.0,
33
+ 5.0
34
+ ],
35
+ "scheduler_after_epoch": true,
36
+ "lr": 0.001,
37
+ "optimizer": "AdamW",
38
+ "optimizer_params": {
39
+ "betas": [
40
+ 0.8,
41
+ 0.99
42
+ ],
43
+ "eps": 1e-09,
44
+ "weight_decay": 0.01
45
+ },
46
+ "lr_scheduler": "",
47
+ "lr_scheduler_params": null,
48
+ "use_grad_scaler": false,
49
+ "allow_tf32": false,
50
+ "cudnn_enable": true,
51
+ "cudnn_deterministic": false,
52
+ "cudnn_benchmark": true,
53
+ "training_seed": 54321,
54
+ "model": "vits",
55
+ "num_loader_workers": 4,
56
+ "num_eval_loader_workers": 4,
57
+ "use_noise_augment": false,
58
+ "audio": {
59
+ "fft_size": 1024,
60
+ "sample_rate": 16000,
61
+ "win_length": 1024,
62
+ "hop_length": 256,
63
+ "num_mels": 80,
64
+ "mel_fmin": 0,
65
+ "mel_fmax": null
66
+ },
67
+ "use_phonemes": false,
68
+ "phonemizer": null,
69
+ "phoneme_language": "pt-br",
70
+ "compute_input_seq_cache": false,
71
+ "text_cleaner": "multilingual_cleaners",
72
+ "enable_eos_bos_chars": false,
73
+ "test_sentences_file": "",
74
+ "phoneme_cache_path": null,
75
+ "characters": {
76
+ "characters_class": "TTS.tts.models.vits.VitsCharacters",
77
+ "vocab_dict": null,
78
+ "pad": "_",
79
+ "eos": "&",
80
+ "bos": "*",
81
+ "blank": null,
82
+ "characters": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\u00af\u00b7\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f9\u00fa\u00fb\u00fc\u00ff\u0101\u0105\u0107\u0113\u0119\u011b\u012b\u0131\u0142\u0144\u014d\u0151\u0153\u015b\u016b\u0171\u017a\u017c\u01ce\u01d0\u01d2\u01d4\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u0451\u0454\u0456\u0457\u0491\u2013!'(),-.:;? ",
83
+ "punctuations": "!'(),-.:;? ",
84
+ "phonemes": "",
85
+ "is_unique": true,
86
+ "is_sorted": true
87
+ },
88
+ "add_blank": true,
89
+ "batch_group_size": 0,
90
+ "loss_masking": null,
91
+ "min_audio_len": 1,
92
+ "max_audio_len": Infinity,
93
+ "min_text_len": 1,
94
+ "max_text_len": Infinity,
95
+ "compute_f0": false,
96
+ "compute_energy": false,
97
+ "compute_linear_spec": true,
98
+ "precompute_num_workers": 0,
99
+ "start_by_longest": false,
100
+ "shuffle": false,
101
+ "drop_last": false,
102
+ "datasets": [
103
+ {
104
+ "formatter": "",
105
+ "dataset_name": "",
106
+ "path": "../../datasets/VCTK-Corpus-removed-silence_16Khz/",
107
+ "meta_file_train": null,
108
+ "ignored_speakers": null,
109
+ "language": "en",
110
+ "phonemizer": "",
111
+ "meta_file_val": null,
112
+ "meta_file_attn_mask": ""
113
+ },
114
+ {
115
+ "formatter": "",
116
+ "dataset_name": "",
117
+ "path": "../../datasets/LibriTTS/LibriTTS/dataset-preprocessed-clean-100-and-360/dataset-22k/",
118
+ "meta_file_train": "metadata_all.csv",
119
+ "ignored_speakers": null,
120
+ "language": "en",
121
+ "phonemizer": "",
122
+ "meta_file_val": "dev-clean_500.csv",
123
+ "meta_file_attn_mask": ""
124
+ },
125
+ {
126
+ "formatter": "",
127
+ "dataset_name": "",
128
+ "path": "../../datasets/TTS-Portuguese-Corpus_16khz/",
129
+ "meta_file_train": "train_TTS-Portuguese_Corpus_metadata.csv",
130
+ "ignored_speakers": null,
131
+ "language": "pt-br",
132
+ "phonemizer": "",
133
+ "meta_file_val": "eval_TTS-Portuguese_Corpus_metadata.csv",
134
+ "meta_file_attn_mask": ""
135
+ },
136
+ {
137
+ "formatter": "",
138
+ "dataset_name": "",
139
+ "path": "../../datasets/M-AILABS/fr_FR",
140
+ "meta_file_train": "",
141
+ "ignored_speakers": null,
142
+ "language": "fr-fr",
143
+ "phonemizer": "",
144
+ "meta_file_val": null,
145
+ "meta_file_attn_mask": null
146
+ }
147
+ ],
148
+ "test_sentences": [
149
+ [
150
+ "It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
151
+ "VCTK_p225",
152
+ null,
153
+ "en"
154
+ ],
155
+ [
156
+ "It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
157
+ "ED",
158
+ null,
159
+ "en"
160
+ ],
161
+ [
162
+ "It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
163
+ "bernard",
164
+ null,
165
+ "en"
166
+ ],
167
+ [
168
+ "This cake is great. It's so delicious and moist.",
169
+ "VCTK_p234",
170
+ null,
171
+ "en"
172
+ ],
173
+ [
174
+ "This cake is great. It's so delicious and moist.",
175
+ "ED",
176
+ null,
177
+ "en"
178
+ ],
179
+ [
180
+ "This cake is great. It's so delicious and moist.",
181
+ "ezwa",
182
+ null,
183
+ "en"
184
+ ],
185
+ [
186
+ "Hoje \u00e9 fundamental encontrar a raz\u00e3o da exist\u00eancia humana.",
187
+ "ED",
188
+ null,
189
+ "pt-br"
190
+ ],
191
+ [
192
+ "Hoje \u00e9 fundamental encontrar a raz\u00e3o da exist\u00eancia humana.",
193
+ "VCTK_p238",
194
+ null,
195
+ "pt-br"
196
+ ],
197
+ [
198
+ "Hoje \u00e9 fundamental encontrar a raz\u00e3o da exist\u00eancia humana.",
199
+ "gilles_g_le_blanc",
200
+ null,
201
+ "pt-br"
202
+ ],
203
+ [
204
+ "Em muitas cidades a popula\u00e7\u00e3o est\u00e1 diminuindo.",
205
+ "ED",
206
+ null,
207
+ "pt-br"
208
+ ],
209
+ [
210
+ "Em muitas cidades a popula\u00e7\u00e3o est\u00e1 diminuindo.",
211
+ "VCTK_p245",
212
+ null,
213
+ "pt-br"
214
+ ],
215
+ [
216
+ "Em muitas cidades a popula\u00e7\u00e3o est\u00e1 diminuindo.",
217
+ "nadine_eckert_boulet",
218
+ null,
219
+ "pt-br"
220
+ ],
221
+ [
222
+ "Il m'a fallu beaucoup de temps pour d\u00e9velopper une voix, et maintenant que je l'ai, je ne vais pas me taire.",
223
+ "VCTK_p245",
224
+ null,
225
+ "fr-fr"
226
+ ],
227
+ [
228
+ "Il m'a fallu beaucoup de temps pour d\u00e9velopper une voix, et maintenant que je l'ai, je ne vais pas me taire.",
229
+ "ED",
230
+ null,
231
+ "fr-fr"
232
+ ],
233
+ [
234
+ "Il m'a fallu beaucoup de temps pour d\u00e9velopper une voix, et maintenant que je l'ai, je ne vais pas me taire.",
235
+ "ezwa",
236
+ null,
237
+ "fr-fr"
238
+ ],
239
+ [
240
+ "Il m'a fallu beaucoup de temps pour d\u00e9velopper une voix, et maintenant que je l'ai, je ne vais pas me taire.",
241
+ "bernard",
242
+ null,
243
+ "fr-fr"
244
+ ],
245
+ [
246
+ "Il m'a fallu beaucoup de temps pour d\u00e9velopper une voix, et maintenant que je l'ai, je ne vais pas me taire.",
247
+ "gilles_g_le_blanc",
248
+ null,
249
+ "fr-fr"
250
+ ],
251
+ [
252
+ "Il m'a fallu beaucoup de temps pour d\u00e9velopper une voix, et maintenant que je l'ai, je ne vais pas me taire.",
253
+ "nadine_eckert_boulet",
254
+ null,
255
+ "fr-fr"
256
+ ],
257
+ [
258
+ "Il m'a fallu beaucoup de temps pour d\u00e9velopper une voix, et maintenant que je l'ai, je ne vais pas me taire.",
259
+ "zeckou",
260
+ null,
261
+ "fr-fr"
262
+ ]
263
+ ],
264
+ "eval_split_max_size": null,
265
+ "eval_split_size": 0.01,
266
+ "use_speaker_weighted_sampler": false,
267
+ "speaker_weighted_sampler_alpha": 1.0,
268
+ "use_language_weighted_sampler": true,
269
+ "language_weighted_sampler_alpha": 1.0,
270
+ "use_length_weighted_sampler": false,
271
+ "length_weighted_sampler_alpha": 1.0,
272
+ "model_args": {
273
+ "num_chars": 165,
274
+ "out_channels": 513,
275
+ "spec_segment_size": 62,
276
+ "hidden_channels": 192,
277
+ "hidden_channels_ffn_text_encoder": 768,
278
+ "num_heads_text_encoder": 2,
279
+ "num_layers_text_encoder": 10,
280
+ "kernel_size_text_encoder": 3,
281
+ "dropout_p_text_encoder": 0.1,
282
+ "dropout_p_duration_predictor": 0.5,
283
+ "kernel_size_posterior_encoder": 5,
284
+ "dilation_rate_posterior_encoder": 1,
285
+ "num_layers_posterior_encoder": 16,
286
+ "kernel_size_flow": 5,
287
+ "dilation_rate_flow": 1,
288
+ "num_layers_flow": 4,
289
+ "resblock_type_decoder": "2",
290
+ "resblock_kernel_sizes_decoder": [
291
+ 3,
292
+ 7,
293
+ 11
294
+ ],
295
+ "resblock_dilation_sizes_decoder": [
296
+ [
297
+ 1,
298
+ 3,
299
+ 5
300
+ ],
301
+ [
302
+ 1,
303
+ 3,
304
+ 5
305
+ ],
306
+ [
307
+ 1,
308
+ 3,
309
+ 5
310
+ ]
311
+ ],
312
+ "upsample_rates_decoder": [
313
+ 8,
314
+ 8,
315
+ 2,
316
+ 2
317
+ ],
318
+ "upsample_initial_channel_decoder": 512,
319
+ "upsample_kernel_sizes_decoder": [
320
+ 16,
321
+ 16,
322
+ 4,
323
+ 4
324
+ ],
325
+ "periods_multi_period_discriminator": [
326
+ 2,
327
+ 3,
328
+ 5,
329
+ 7,
330
+ 11
331
+ ],
332
+ "use_sdp": true,
333
+ "noise_scale": 1.0,
334
+ "inference_noise_scale": 0.3,
335
+ "length_scale": 1.5,
336
+ "noise_scale_dp": 0.6,
337
+ "inference_noise_scale_dp": 0.3,
338
+ "max_inference_len": null,
339
+ "init_discriminator": true,
340
+ "use_spectral_norm_disriminator": false,
341
+ "use_speaker_embedding": false,
342
+ "num_speakers": 1244,
343
+ "speakers_file": null,
344
+ "d_vector_file": [
345
+ "C:\\Users\\vchar\\AppData\\Local\\tts\\tts_models--multilingual--multi-dataset--your_tts\\speakers.json"
346
+ ],
347
+ "speaker_embedding_channels": 512,
348
+ "use_d_vector_file": true,
349
+ "d_vector_dim": 512,
350
+ "detach_dp_input": true,
351
+ "use_language_embedding": true,
352
+ "embedded_language_dim": 4,
353
+ "num_languages": 3,
354
+ "language_ids_file": null,
355
+ "use_speaker_encoder_as_loss": true,
356
+ "speaker_encoder_config_path": "C:\\Users\\vchar\\AppData\\Local\\tts\\tts_models--multilingual--multi-dataset--your_tts\\config_se.json",
357
+ "speaker_encoder_model_path": "C:\\Users\\vchar\\AppData\\Local\\tts\\tts_models--multilingual--multi-dataset--your_tts\\model_se.pth",
358
+ "condition_dp_on_speaker": true,
359
+ "freeze_encoder": false,
360
+ "freeze_DP": false,
361
+ "freeze_PE": false,
362
+ "freeze_flow_decoder": false,
363
+ "freeze_waveform_decoder": false,
364
+ "encoder_sample_rate": null,
365
+ "interpolate_z": true,
366
+ "reinit_DP": false,
367
+ "reinit_text_encoder": false
368
+ },
369
+ "lr_gen": 0.0002,
370
+ "lr_disc": 0.0002,
371
+ "lr_scheduler_gen": "ExponentialLR",
372
+ "lr_scheduler_gen_params": {
373
+ "gamma": 0.999875,
374
+ "last_epoch": -1
375
+ },
376
+ "lr_scheduler_disc": "ExponentialLR",
377
+ "lr_scheduler_disc_params": {
378
+ "gamma": 0.999875,
379
+ "last_epoch": -1
380
+ },
381
+ "kl_loss_alpha": 1.0,
382
+ "disc_loss_alpha": 1.0,
383
+ "gen_loss_alpha": 1.0,
384
+ "feat_loss_alpha": 1.0,
385
+ "mel_loss_alpha": 45.0,
386
+ "dur_loss_alpha": 1.0,
387
+ "speaker_encoder_loss_alpha": 9.0,
388
+ "return_wav": true,
389
+ "use_weighted_sampler": false,
390
+ "weighted_sampler_attrs": {},
391
+ "weighted_sampler_multipliers": {},
392
+ "r": 1,
393
+ "num_speakers": 0,
394
+ "use_speaker_embedding": false,
395
+ "speakers_file": null,
396
+ "speaker_embedding_channels": 256,
397
+ "language_ids_file": null,
398
+ "use_language_embedding": false,
399
+ "use_d_vector_file": true,
400
+ "d_vector_file": [
401
+ "C:\\Users\\vchar\\AppData\\Local\\tts\\tts_models--multilingual--multi-dataset--your_tts\\speakers.json"
402
+ ],
403
+ "d_vector_dim": 512
404
+ }
tss_model/model_file.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:017bfd8907c80bb5857d65d0223f0e4e4b9d699ef52e2a853d9cc7eb7e308cf0
3
+ size 379957289