Add files using upload-large-folder tool
Browse files- best_model.pth +3 -0
- config.json +472 -0
- config_se.json +121 -0
- language_ids.json +10 -0
- model_se.pth +3 -0
- speakers.pth +3 -0
best_model.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b5c2095f28c0ec5c2c4ef2a6130004432dbf6f8b6e73bb9c14655a45506fc1d
|
3 |
+
size 1042933327
|
config.json
ADDED
@@ -0,0 +1,472 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"output_path": "./checkpoints/yourtts_multilingual/",
|
3 |
+
"logger_uri": null,
|
4 |
+
"run_name": "yourtts-du_en_fr_ge_it_pl_ptbr_sp",
|
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 |
+
"log_model_step": 10000,
|
13 |
+
"save_step": 10000,
|
14 |
+
"save_n_checkpoints": 5,
|
15 |
+
"save_checkpoints": true,
|
16 |
+
"save_all_best": false,
|
17 |
+
"save_best_after": 10000,
|
18 |
+
"target_loss": null,
|
19 |
+
"print_eval": true,
|
20 |
+
"test_delay_epochs": -1,
|
21 |
+
"run_eval": true,
|
22 |
+
"distributed_backend": "nccl",
|
23 |
+
"distributed_url": "tcp://localhost:54321",
|
24 |
+
"mixed_precision": false,
|
25 |
+
"epochs": 1000,
|
26 |
+
"batch_size": 60,
|
27 |
+
"eval_batch_size": 60,
|
28 |
+
"grad_clip": [
|
29 |
+
5.0,
|
30 |
+
5.0
|
31 |
+
],
|
32 |
+
"scheduler_after_epoch": true,
|
33 |
+
"lr": 0.001,
|
34 |
+
"optimizer": "AdamW",
|
35 |
+
"optimizer_params": {
|
36 |
+
"betas": [
|
37 |
+
0.8,
|
38 |
+
0.99
|
39 |
+
],
|
40 |
+
"eps": 1e-09,
|
41 |
+
"weight_decay": 0.01
|
42 |
+
},
|
43 |
+
"lr_scheduler": "",
|
44 |
+
"lr_scheduler_params": null,
|
45 |
+
"use_grad_scaler": false,
|
46 |
+
"cudnn_enable": true,
|
47 |
+
"cudnn_deterministic": false,
|
48 |
+
"cudnn_benchmark": false,
|
49 |
+
"training_seed": 54321,
|
50 |
+
"model": "vits",
|
51 |
+
"num_loader_workers": 4,
|
52 |
+
"num_eval_loader_workers": 4,
|
53 |
+
"use_noise_augment": false,
|
54 |
+
"audio": {
|
55 |
+
"fft_size": 1024,
|
56 |
+
"win_length": 1024,
|
57 |
+
"hop_length": 256,
|
58 |
+
"frame_shift_ms": null,
|
59 |
+
"frame_length_ms": null,
|
60 |
+
"stft_pad_mode": "reflect",
|
61 |
+
"sample_rate": 24000,
|
62 |
+
"resample": false,
|
63 |
+
"preemphasis": 0.0,
|
64 |
+
"ref_level_db": 20,
|
65 |
+
"do_sound_norm": false,
|
66 |
+
"log_func": "np.log",
|
67 |
+
"do_trim_silence": true,
|
68 |
+
"trim_db": 45,
|
69 |
+
"do_rms_norm": false,
|
70 |
+
"db_level": null,
|
71 |
+
"power": 1.5,
|
72 |
+
"griffin_lim_iters": 60,
|
73 |
+
"num_mels": 80,
|
74 |
+
"mel_fmin": 0.0,
|
75 |
+
"mel_fmax": null,
|
76 |
+
"spec_gain": 1,
|
77 |
+
"do_amp_to_db_linear": false,
|
78 |
+
"do_amp_to_db_mel": true,
|
79 |
+
"pitch_fmax": 640.0,
|
80 |
+
"pitch_fmin": 0.0,
|
81 |
+
"signal_norm": false,
|
82 |
+
"min_level_db": -100,
|
83 |
+
"symmetric_norm": true,
|
84 |
+
"max_norm": 4.0,
|
85 |
+
"clip_norm": true,
|
86 |
+
"stats_path": null
|
87 |
+
},
|
88 |
+
"use_phonemes": false,
|
89 |
+
"phonemizer": null,
|
90 |
+
"phoneme_language": "pt-br",
|
91 |
+
"compute_input_seq_cache": false,
|
92 |
+
"text_cleaner": "multilingual_cleaners",
|
93 |
+
"enable_eos_bos_chars": false,
|
94 |
+
"test_sentences_file": "",
|
95 |
+
"phoneme_cache_path": null,
|
96 |
+
"characters": {
|
97 |
+
"characters_class": "TTS.tts.models.vits.VitsCharacters",
|
98 |
+
"vocab_dict": null,
|
99 |
+
"pad": "_",
|
100 |
+
"eos": "&",
|
101 |
+
"bos": "*",
|
102 |
+
"blank": null,
|
103 |
+
"characters": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\u00a1\u00a3\u00b7\u00b8\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d9\u00da\u00db\u00dc\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f9\u00fa\u00fb\u00fc\u0101\u0104\u0105\u0106\u0107\u010b\u0119\u0141\u0142\u0143\u0144\u0152\u0153\u015a\u015b\u0161\u0178\u0179\u017a\u017b\u017c\u020e\u04e7\u05c2\u1b20",
|
104 |
+
"punctuations": "\u2014!'(),-.:;?\u00bf ",
|
105 |
+
"phonemes": "iy\u0268\u0289\u026fu\u026a\u028f\u028ae\u00f8\u0258\u0259\u0275\u0264o\u025b\u0153\u025c\u025e\u028c\u0254\u00e6\u0250a\u0276\u0251\u0252\u1d7b\u0298\u0253\u01c0\u0257\u01c3\u0284\u01c2\u0260\u01c1\u029bpbtd\u0288\u0256c\u025fk\u0261q\u0262\u0294\u0274\u014b\u0272\u0273n\u0271m\u0299r\u0280\u2c71\u027e\u027d\u0278\u03b2fv\u03b8\u00f0sz\u0283\u0292\u0282\u0290\u00e7\u029dx\u0263\u03c7\u0281\u0127\u0295h\u0266\u026c\u026e\u028b\u0279\u027bj\u0270l\u026d\u028e\u029f\u02c8\u02cc\u02d0\u02d1\u028dw\u0265\u029c\u02a2\u02a1\u0255\u0291\u027a\u0267\u025a\u02de\u026b'\u0303' ",
|
106 |
+
"is_unique": true,
|
107 |
+
"is_sorted": true
|
108 |
+
},
|
109 |
+
"add_blank": true,
|
110 |
+
"batch_group_size": 0,
|
111 |
+
"loss_masking": null,
|
112 |
+
"sort_by_audio_len": false,
|
113 |
+
"min_audio_len": 1,
|
114 |
+
"max_audio_len": Infinity,
|
115 |
+
"min_text_len": 1,
|
116 |
+
"max_text_len": Infinity,
|
117 |
+
"compute_f0": false,
|
118 |
+
"compute_linear_spec": true,
|
119 |
+
"precompute_num_workers": 0,
|
120 |
+
"start_by_longest": false,
|
121 |
+
"datasets": [
|
122 |
+
{
|
123 |
+
"name": "libri_tts",
|
124 |
+
"path": "./datasets/LibriTTS-100-360/LibriTTS-360/train-clean-360/",
|
125 |
+
"meta_file_train": "",
|
126 |
+
"ignored_speakers": null,
|
127 |
+
"language": "en",
|
128 |
+
"meta_file_val": "",
|
129 |
+
"meta_file_attn_mask": ""
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"name": "brspeech",
|
133 |
+
"path": "./datasets/cml_tts_dataset_polish_v0.1/",
|
134 |
+
"meta_file_train": "train.csv",
|
135 |
+
"ignored_speakers": null,
|
136 |
+
"language": "pl",
|
137 |
+
"meta_file_val": null,
|
138 |
+
"meta_file_attn_mask": null
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"name": "brspeech",
|
142 |
+
"path": "./datasets/cml_tts_dataset_portuguese_v0.1/",
|
143 |
+
"meta_file_train": "train.csv",
|
144 |
+
"ignored_speakers": null,
|
145 |
+
"language": "pt-br",
|
146 |
+
"meta_file_val": null,
|
147 |
+
"meta_file_attn_mask": null
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"name": "brspeech",
|
151 |
+
"path": "./datasets/cml_tts_dataset_italian_v0.1/",
|
152 |
+
"meta_file_train": "train.csv",
|
153 |
+
"ignored_speakers": null,
|
154 |
+
"language": "it",
|
155 |
+
"meta_file_val": null,
|
156 |
+
"meta_file_attn_mask": null
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"name": "brspeech",
|
160 |
+
"path": "./datasets/cml_tts_dataset_french_v0.1/",
|
161 |
+
"meta_file_train": "train.csv",
|
162 |
+
"ignored_speakers": null,
|
163 |
+
"language": "fr",
|
164 |
+
"meta_file_val": null,
|
165 |
+
"meta_file_attn_mask": null
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"name": "brspeech",
|
169 |
+
"path": "./datasets/cml_tts_dataset_dutch_v0.1/",
|
170 |
+
"meta_file_train": "train.csv",
|
171 |
+
"ignored_speakers": null,
|
172 |
+
"language": "du",
|
173 |
+
"meta_file_val": null,
|
174 |
+
"meta_file_attn_mask": null
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"name": "brspeech",
|
178 |
+
"path": "./datasets/cml_tts_dataset_german_v0.1/",
|
179 |
+
"meta_file_train": "train.csv",
|
180 |
+
"ignored_speakers": null,
|
181 |
+
"language": "ge",
|
182 |
+
"meta_file_val": null,
|
183 |
+
"meta_file_attn_mask": null
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"name": "brspeech",
|
187 |
+
"path": "./datasets/ml_tts_dataset_spanish_v0.1/",
|
188 |
+
"meta_file_train": "train.csv",
|
189 |
+
"ignored_speakers": null,
|
190 |
+
"language": "sp",
|
191 |
+
"meta_file_val": null,
|
192 |
+
"meta_file_attn_mask": null
|
193 |
+
}
|
194 |
+
],
|
195 |
+
"test_sentences": [
|
196 |
+
[
|
197 |
+
"Voc\u00ea ter\u00e1 a vista do topo da montanha que voc\u00ea escalar.",
|
198 |
+
"9351\n",
|
199 |
+
null,
|
200 |
+
"pt-br"
|
201 |
+
],
|
202 |
+
[
|
203 |
+
"Quando voc\u00ea n\u00e3o corre nenhum risco, voc\u00ea arrisca tudo.",
|
204 |
+
"12249\n",
|
205 |
+
null,
|
206 |
+
"pt-br"
|
207 |
+
],
|
208 |
+
[
|
209 |
+
"S\u00e3o necess\u00e1rios muitos anos de trabalho para ter sucesso da noite para o dia.",
|
210 |
+
"2961\n",
|
211 |
+
null,
|
212 |
+
"pt-br"
|
213 |
+
],
|
214 |
+
[
|
215 |
+
"You'll have the view of the top of the mountain that you climb.",
|
216 |
+
"LTTS_6574",
|
217 |
+
null,
|
218 |
+
"en"
|
219 |
+
],
|
220 |
+
[
|
221 |
+
"When you don\u2019t take any risks, you risk everything.",
|
222 |
+
"LTTS_6206",
|
223 |
+
null,
|
224 |
+
"en"
|
225 |
+
],
|
226 |
+
[
|
227 |
+
"Are necessary too many years of work to succeed overnight.",
|
228 |
+
"LTTS_5717",
|
229 |
+
null,
|
230 |
+
"en"
|
231 |
+
],
|
232 |
+
[
|
233 |
+
"Je hebt uitzicht op de top van de berg die je beklimt.",
|
234 |
+
"960\n",
|
235 |
+
null,
|
236 |
+
"du"
|
237 |
+
],
|
238 |
+
[
|
239 |
+
"Als je geen risico neemt, riskeer je alles.",
|
240 |
+
"2450\n",
|
241 |
+
null,
|
242 |
+
"du"
|
243 |
+
],
|
244 |
+
[
|
245 |
+
"Zijn te veel jaren werk nodig om van de ene op de andere dag te slagen.",
|
246 |
+
"10984\n",
|
247 |
+
null,
|
248 |
+
"du"
|
249 |
+
],
|
250 |
+
[
|
251 |
+
"Vous aurez la vue sur le sommet de la montagne que vous gravirez.",
|
252 |
+
"6381\n",
|
253 |
+
null,
|
254 |
+
"fr"
|
255 |
+
],
|
256 |
+
[
|
257 |
+
"Quand tu ne prends aucun risque, tu risques tout.",
|
258 |
+
"2825\n",
|
259 |
+
null,
|
260 |
+
"fr"
|
261 |
+
],
|
262 |
+
[
|
263 |
+
"Sont n\u00e9cessaires trop d'ann\u00e9es de travail pour r\u00e9ussir du jour au lendemain.",
|
264 |
+
"1844\n",
|
265 |
+
null,
|
266 |
+
"fr"
|
267 |
+
],
|
268 |
+
[
|
269 |
+
"Sie haben die Aussicht auf die Spitze des Berges, den Sie erklimmen.",
|
270 |
+
"2314\n",
|
271 |
+
null,
|
272 |
+
"ge"
|
273 |
+
],
|
274 |
+
[
|
275 |
+
"Wer nichts riskiert, riskiert alles.",
|
276 |
+
"7483\n",
|
277 |
+
null,
|
278 |
+
"ge"
|
279 |
+
],
|
280 |
+
[
|
281 |
+
"Es sind zu viele Jahre Arbeit notwendig, um \u00fcber Nacht erfolgreich zu sein.",
|
282 |
+
"12461\n",
|
283 |
+
null,
|
284 |
+
"ge"
|
285 |
+
],
|
286 |
+
[
|
287 |
+
"Avrai la vista della cima della montagna che sali.",
|
288 |
+
"4998\n",
|
289 |
+
null,
|
290 |
+
"it"
|
291 |
+
],
|
292 |
+
[
|
293 |
+
"Quando non corri alcun rischio, rischi tutto.",
|
294 |
+
"6744\n",
|
295 |
+
null,
|
296 |
+
"it"
|
297 |
+
],
|
298 |
+
[
|
299 |
+
"Are necessary too many years of work to succeed overnight.",
|
300 |
+
"1157\n",
|
301 |
+
null,
|
302 |
+
"it"
|
303 |
+
],
|
304 |
+
[
|
305 |
+
"B\u0119dziesz mie\u0107 widok na szczyt g\u00f3ry, na kt\u00f3r\u0105 si\u0119 wspinasz.",
|
306 |
+
"7014\n",
|
307 |
+
null,
|
308 |
+
"pl"
|
309 |
+
],
|
310 |
+
[
|
311 |
+
"Kiedy nie podejmujesz \u017cadnego ryzyka, ryzykujesz wszystko.",
|
312 |
+
"3492\n",
|
313 |
+
null,
|
314 |
+
"pl"
|
315 |
+
],
|
316 |
+
[
|
317 |
+
"Potrzebne s\u0105 zbyt wiele lat pracy, aby odnie\u015b\u0107 sukces z dnia na dzie\u0144.",
|
318 |
+
"1890\n",
|
319 |
+
null,
|
320 |
+
"pl"
|
321 |
+
],
|
322 |
+
[
|
323 |
+
"Tendr\u00e1s la vista de la cima de la monta\u00f1a que subes",
|
324 |
+
"101\n",
|
325 |
+
null,
|
326 |
+
"sp"
|
327 |
+
],
|
328 |
+
[
|
329 |
+
"Cuando no te arriesgas, lo arriesgas todo.",
|
330 |
+
"5922\n",
|
331 |
+
null,
|
332 |
+
"sp"
|
333 |
+
],
|
334 |
+
[
|
335 |
+
"Son necesarios demasiados a\u00f1os de trabajo para triunfar de la noche a la ma\u00f1ana.",
|
336 |
+
"10246\n",
|
337 |
+
null,
|
338 |
+
"sp"
|
339 |
+
]
|
340 |
+
],
|
341 |
+
"eval_split_max_size": null,
|
342 |
+
"eval_split_size": 0.01,
|
343 |
+
"use_speaker_weighted_sampler": false,
|
344 |
+
"speaker_weighted_sampler_alpha": 1.0,
|
345 |
+
"use_language_weighted_sampler": true,
|
346 |
+
"language_weighted_sampler_alpha": 1.0,
|
347 |
+
"use_length_weighted_sampler": false,
|
348 |
+
"length_weighted_sampler_alpha": 1.0,
|
349 |
+
"model_args": {
|
350 |
+
"num_chars": 266,
|
351 |
+
"out_channels": 513,
|
352 |
+
"spec_segment_size": 62,
|
353 |
+
"hidden_channels": 192,
|
354 |
+
"hidden_channels_ffn_text_encoder": 768,
|
355 |
+
"num_heads_text_encoder": 2,
|
356 |
+
"num_layers_text_encoder": 10,
|
357 |
+
"kernel_size_text_encoder": 3,
|
358 |
+
"dropout_p_text_encoder": 0.1,
|
359 |
+
"dropout_p_duration_predictor": 0.5,
|
360 |
+
"kernel_size_posterior_encoder": 5,
|
361 |
+
"dilation_rate_posterior_encoder": 1,
|
362 |
+
"num_layers_posterior_encoder": 16,
|
363 |
+
"kernel_size_flow": 5,
|
364 |
+
"dilation_rate_flow": 1,
|
365 |
+
"num_layers_flow": 4,
|
366 |
+
"resblock_type_decoder": "2",
|
367 |
+
"resblock_kernel_sizes_decoder": [
|
368 |
+
3,
|
369 |
+
7,
|
370 |
+
11
|
371 |
+
],
|
372 |
+
"resblock_dilation_sizes_decoder": [
|
373 |
+
[
|
374 |
+
1,
|
375 |
+
3,
|
376 |
+
5
|
377 |
+
],
|
378 |
+
[
|
379 |
+
1,
|
380 |
+
3,
|
381 |
+
5
|
382 |
+
],
|
383 |
+
[
|
384 |
+
1,
|
385 |
+
3,
|
386 |
+
5
|
387 |
+
]
|
388 |
+
],
|
389 |
+
"upsample_rates_decoder": [
|
390 |
+
8,
|
391 |
+
8,
|
392 |
+
2,
|
393 |
+
2
|
394 |
+
],
|
395 |
+
"upsample_initial_channel_decoder": 512,
|
396 |
+
"upsample_kernel_sizes_decoder": [
|
397 |
+
16,
|
398 |
+
16,
|
399 |
+
4,
|
400 |
+
4
|
401 |
+
],
|
402 |
+
"periods_multi_period_discriminator": [
|
403 |
+
2,
|
404 |
+
3,
|
405 |
+
5,
|
406 |
+
7,
|
407 |
+
11
|
408 |
+
],
|
409 |
+
"use_sdp": true,
|
410 |
+
"noise_scale": 1.0,
|
411 |
+
"inference_noise_scale": 0.3,
|
412 |
+
"length_scale": 1.5,
|
413 |
+
"noise_scale_dp": 0.6,
|
414 |
+
"inference_noise_scale_dp": 0.3,
|
415 |
+
"max_inference_len": null,
|
416 |
+
"init_discriminator": true,
|
417 |
+
"use_spectral_norm_disriminator": false,
|
418 |
+
"use_speaker_embedding": false,
|
419 |
+
"num_speakers": 1244,
|
420 |
+
"speakers_file": "checkpoints/speakers.pth",
|
421 |
+
"d_vector_file": "speaker_embeddings/d_vector_all.json",
|
422 |
+
"speaker_embedding_channels": 512,
|
423 |
+
"use_d_vector_file": true,
|
424 |
+
"d_vector_dim": 512,
|
425 |
+
"detach_dp_input": true,
|
426 |
+
"use_language_embedding": true,
|
427 |
+
"embedded_language_dim": 4,
|
428 |
+
"num_languages": 3,
|
429 |
+
"language_ids_file": "checkpoints/language_ids.json",
|
430 |
+
"use_speaker_encoder_as_loss": false,
|
431 |
+
"speaker_encoder_config_path": "checkpoints/config_se.json",
|
432 |
+
"speaker_encoder_model_path": "checkpoints/model_se.pth",
|
433 |
+
"condition_dp_on_speaker": true,
|
434 |
+
"freeze_encoder": false,
|
435 |
+
"freeze_DP": false,
|
436 |
+
"freeze_PE": false,
|
437 |
+
"freeze_flow_decoder": false,
|
438 |
+
"freeze_waveform_decoder": false,
|
439 |
+
"encoder_sample_rate": null,
|
440 |
+
"interpolate_z": true,
|
441 |
+
"reinit_DP": false,
|
442 |
+
"reinit_text_encoder": false
|
443 |
+
},
|
444 |
+
"lr_gen": 0.0002,
|
445 |
+
"lr_disc": 0.0002,
|
446 |
+
"lr_scheduler_gen": "ExponentialLR",
|
447 |
+
"lr_scheduler_gen_params": {
|
448 |
+
"gamma": 0.999875,
|
449 |
+
"last_epoch": -1
|
450 |
+
},
|
451 |
+
"lr_scheduler_disc": "ExponentialLR",
|
452 |
+
"lr_scheduler_disc_params": {
|
453 |
+
"gamma": 0.999875,
|
454 |
+
"last_epoch": -1
|
455 |
+
},
|
456 |
+
"kl_loss_alpha": 1.0,
|
457 |
+
"disc_loss_alpha": 1.0,
|
458 |
+
"gen_loss_alpha": 1.0,
|
459 |
+
"feat_loss_alpha": 1.0,
|
460 |
+
"mel_loss_alpha": 45.0,
|
461 |
+
"dur_loss_alpha": 1.0,
|
462 |
+
"speaker_encoder_loss_alpha": 9.0,
|
463 |
+
"return_wav": true,
|
464 |
+
"r": 1,
|
465 |
+
"num_speakers": 0,
|
466 |
+
"use_speaker_embedding": false,
|
467 |
+
"speaker_embedding_channels": 256,
|
468 |
+
"use_language_embedding": false,
|
469 |
+
"use_d_vector_file": false,
|
470 |
+
"d_vector_file": null,
|
471 |
+
"d_vector_dim": 0
|
472 |
+
}
|
config_se.json
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "speaker_encoder",
|
3 |
+
"run_name": "speaker_encoder",
|
4 |
+
"run_description": "resnet speaker encoder trained with commonvoice all languages dev and train, Voxceleb 1 dev and Voxceleb 2 dev",
|
5 |
+
"epochs": 100000,
|
6 |
+
"batch_size": null,
|
7 |
+
"eval_batch_size": null,
|
8 |
+
"mixed_precision": false,
|
9 |
+
"run_eval": true,
|
10 |
+
"test_delay_epochs": 0,
|
11 |
+
"print_eval": false,
|
12 |
+
"print_step": 50,
|
13 |
+
"tb_plot_step": 100,
|
14 |
+
"tb_model_param_stats": false,
|
15 |
+
"save_step": 1000,
|
16 |
+
"checkpoint": true,
|
17 |
+
"keep_all_best": false,
|
18 |
+
"keep_after": 10000,
|
19 |
+
"num_loader_workers": 8,
|
20 |
+
"num_val_loader_workers": 0,
|
21 |
+
"use_noise_augment": false,
|
22 |
+
"output_path": "../checkpoints/speaker_encoder/language_balanced/normalized/angleproto-4-samples-by-speakers/",
|
23 |
+
"distributed_backend": "nccl",
|
24 |
+
"distributed_url": "tcp://localhost:54321",
|
25 |
+
"audio": {
|
26 |
+
"fft_size": 512,
|
27 |
+
"win_length": 400,
|
28 |
+
"hop_length": 160,
|
29 |
+
"frame_shift_ms": null,
|
30 |
+
"frame_length_ms": null,
|
31 |
+
"stft_pad_mode": "reflect",
|
32 |
+
"sample_rate": 16000,
|
33 |
+
"resample": false,
|
34 |
+
"preemphasis": 0.97,
|
35 |
+
"ref_level_db": 20,
|
36 |
+
"do_sound_norm": false,
|
37 |
+
"do_trim_silence": false,
|
38 |
+
"trim_db": 60,
|
39 |
+
"power": 1.5,
|
40 |
+
"griffin_lim_iters": 60,
|
41 |
+
"num_mels": 64,
|
42 |
+
"mel_fmin": 0.0,
|
43 |
+
"mel_fmax": 8000.0,
|
44 |
+
"spec_gain": 20,
|
45 |
+
"signal_norm": false,
|
46 |
+
"min_level_db": -100,
|
47 |
+
"symmetric_norm": false,
|
48 |
+
"max_norm": 4.0,
|
49 |
+
"clip_norm": false,
|
50 |
+
"stats_path": null,
|
51 |
+
"do_rms_norm": true,
|
52 |
+
"db_level": -27.0
|
53 |
+
},
|
54 |
+
"datasets": [
|
55 |
+
{
|
56 |
+
"name": "voxceleb2",
|
57 |
+
"path": "/workspace/scratch/ecasanova/datasets/VoxCeleb/vox2_dev_aac/",
|
58 |
+
"meta_file_train": null,
|
59 |
+
"ununsed_speakers": null,
|
60 |
+
"meta_file_val": null,
|
61 |
+
"meta_file_attn_mask": "",
|
62 |
+
"language": "voxceleb"
|
63 |
+
}
|
64 |
+
],
|
65 |
+
"model_params": {
|
66 |
+
"model_name": "resnet",
|
67 |
+
"input_dim": 64,
|
68 |
+
"use_torch_spec": true,
|
69 |
+
"log_input": true,
|
70 |
+
"proj_dim": 512
|
71 |
+
},
|
72 |
+
"audio_augmentation": {
|
73 |
+
"p": 0.5,
|
74 |
+
"rir": {
|
75 |
+
"rir_path": "/workspace/store/ecasanova/ComParE/RIRS_NOISES/simulated_rirs/",
|
76 |
+
"conv_mode": "full"
|
77 |
+
},
|
78 |
+
"additive": {
|
79 |
+
"sounds_path": "/workspace/store/ecasanova/ComParE/musan/",
|
80 |
+
"speech": {
|
81 |
+
"min_snr_in_db": 13,
|
82 |
+
"max_snr_in_db": 20,
|
83 |
+
"min_num_noises": 1,
|
84 |
+
"max_num_noises": 1
|
85 |
+
},
|
86 |
+
"noise": {
|
87 |
+
"min_snr_in_db": 0,
|
88 |
+
"max_snr_in_db": 15,
|
89 |
+
"min_num_noises": 1,
|
90 |
+
"max_num_noises": 1
|
91 |
+
},
|
92 |
+
"music": {
|
93 |
+
"min_snr_in_db": 5,
|
94 |
+
"max_snr_in_db": 15,
|
95 |
+
"min_num_noises": 1,
|
96 |
+
"max_num_noises": 1
|
97 |
+
}
|
98 |
+
},
|
99 |
+
"gaussian": {
|
100 |
+
"p": 0.0,
|
101 |
+
"min_amplitude": 0.0,
|
102 |
+
"max_amplitude": 1e-05
|
103 |
+
}
|
104 |
+
},
|
105 |
+
"storage": {
|
106 |
+
"sample_from_storage_p": 0.5,
|
107 |
+
"storage_size": 40
|
108 |
+
},
|
109 |
+
"max_train_step": 1000000,
|
110 |
+
"loss": "angleproto",
|
111 |
+
"grad_clip": 3.0,
|
112 |
+
"lr": 0.0001,
|
113 |
+
"lr_decay": false,
|
114 |
+
"warmup_steps": 4000,
|
115 |
+
"wd": 1e-06,
|
116 |
+
"steps_plot_stats": 100,
|
117 |
+
"num_speakers_in_batch": 100,
|
118 |
+
"num_utters_per_speaker": 4,
|
119 |
+
"skip_speakers": true,
|
120 |
+
"voice_len": 2.0
|
121 |
+
}
|
language_ids.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"du": 0,
|
3 |
+
"en": 1,
|
4 |
+
"fr": 2,
|
5 |
+
"ge": 3,
|
6 |
+
"it": 4,
|
7 |
+
"pl": 5,
|
8 |
+
"pt-br": 6,
|
9 |
+
"sp": 7
|
10 |
+
}
|
model_se.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f96efb20cbeeefd81fd8336d7f0155bf8902f82f9474e58ccb19d9e12345172
|
3 |
+
size 44610930
|
speakers.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1465a92bff8f8cee58e355330063eb2c04c163a22596caa2c9024c1ef9c5d96
|
3 |
+
size 26671
|