DewiBrynJones
commited on
Commit
•
cdffab5
1
Parent(s):
94405b4
comit gyntaf
Browse files- checkpoint.pth +3 -0
- config.json +322 -0
- language_ids.json +3 -0
- speakers.pth +3 -0
checkpoint.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99f7b5d82995dc601362a4f511d51766555552064eacfa1be2980a0da9bf7780
|
3 |
+
size 1027784043
|
config.json
ADDED
@@ -0,0 +1,322 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"output_path": "/code/data/runs/",
|
3 |
+
"logger_uri": null,
|
4 |
+
"run_name": "vits_vctk",
|
5 |
+
"project_name": null,
|
6 |
+
"run_description": "\ud83d\udc38Coqui trainer run.",
|
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": false,
|
20 |
+
"test_delay_epochs": -1,
|
21 |
+
"run_eval": true,
|
22 |
+
"run_eval_steps": null,
|
23 |
+
"distributed_backend": "nccl",
|
24 |
+
"distributed_url": "tcp://localhost:54321",
|
25 |
+
"mixed_precision": true,
|
26 |
+
"epochs": 1100,
|
27 |
+
"batch_size": 64,
|
28 |
+
"eval_batch_size": 32,
|
29 |
+
"grad_clip": [
|
30 |
+
1000.0,
|
31 |
+
1000.0
|
32 |
+
],
|
33 |
+
"scheduler_after_epoch": true,
|
34 |
+
"lr": 0.001,
|
35 |
+
"optimizer": "AdamW",
|
36 |
+
"optimizer_params": {
|
37 |
+
"betas": [
|
38 |
+
0.8,
|
39 |
+
0.99
|
40 |
+
],
|
41 |
+
"eps": 1e-09,
|
42 |
+
"weight_decay": 0.01
|
43 |
+
},
|
44 |
+
"lr_scheduler": null,
|
45 |
+
"lr_scheduler_params": {},
|
46 |
+
"use_grad_scaler": false,
|
47 |
+
"cudnn_enable": true,
|
48 |
+
"cudnn_deterministic": false,
|
49 |
+
"cudnn_benchmark": false,
|
50 |
+
"training_seed": 54321,
|
51 |
+
"model": "vits",
|
52 |
+
"num_loader_workers": 4,
|
53 |
+
"num_eval_loader_workers": 4,
|
54 |
+
"use_noise_augment": false,
|
55 |
+
"audio": {
|
56 |
+
"fft_size": 1024,
|
57 |
+
"sample_rate": 44100,
|
58 |
+
"win_length": 1024,
|
59 |
+
"hop_length": 256,
|
60 |
+
"num_mels": 80,
|
61 |
+
"mel_fmin": 0,
|
62 |
+
"mel_fmax": null
|
63 |
+
},
|
64 |
+
"use_phonemes": false,
|
65 |
+
"phonemizer": null,
|
66 |
+
"phoneme_language": "cy",
|
67 |
+
"compute_input_seq_cache": true,
|
68 |
+
"text_cleaner": "multilingual_cleaners",
|
69 |
+
"enable_eos_bos_chars": false,
|
70 |
+
"test_sentences_file": "",
|
71 |
+
"phoneme_cache_path": "/code/data/runs/phoneme_cache",
|
72 |
+
"characters": {
|
73 |
+
"characters_class": "TTS.tts.models.vits.VitsCharacters",
|
74 |
+
"vocab_dict": null,
|
75 |
+
"pad": "<PAD>",
|
76 |
+
"eos": "<EOS>",
|
77 |
+
"bos": "<BOS>",
|
78 |
+
"blank": "<BLNK>",
|
79 |
+
"characters": "!'\u2019(),-.:;? ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c1\u00c0\u00c2\u00c4\u00c9\u00ca\u00cb\u00ce\u00cf\u00d4\u00d6\u00d4\u00db\u0174\u0176\u0178abcdefghijklmnopqrstuvwyxz\u00e1\u00e0\u00e2\u00e4\u00e9\u00ea\u00eb\u00ee\u00ef\u00f4\u00f6\u00f4\u00fb\u0175\u0177\u00ff",
|
80 |
+
"punctuations": "!'\u2019(),-.:;? ",
|
81 |
+
"phonemes": null,
|
82 |
+
"is_unique": true,
|
83 |
+
"is_sorted": true
|
84 |
+
},
|
85 |
+
"add_blank": true,
|
86 |
+
"batch_group_size": 16,
|
87 |
+
"loss_masking": null,
|
88 |
+
"min_audio_len": 1,
|
89 |
+
"max_audio_len": Infinity,
|
90 |
+
"min_text_len": 1,
|
91 |
+
"max_text_len": Infinity,
|
92 |
+
"compute_f0": false,
|
93 |
+
"compute_energy": false,
|
94 |
+
"compute_linear_spec": true,
|
95 |
+
"precompute_num_workers": 0,
|
96 |
+
"start_by_longest": false,
|
97 |
+
"shuffle": false,
|
98 |
+
"drop_last": false,
|
99 |
+
"datasets": [
|
100 |
+
{
|
101 |
+
"formatter": "multi_ljspeech",
|
102 |
+
"dataset_name": "",
|
103 |
+
"path": "/code/data/butts/",
|
104 |
+
"meta_file_train": "metadata.csv",
|
105 |
+
"ignored_speakers": null,
|
106 |
+
"language": "cy",
|
107 |
+
"phonemizer": "",
|
108 |
+
"meta_file_val": "",
|
109 |
+
"meta_file_attn_mask": ""
|
110 |
+
}
|
111 |
+
],
|
112 |
+
"test_sentences": [
|
113 |
+
[
|
114 |
+
"It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
|
115 |
+
"benyw-gogledd-pro",
|
116 |
+
null,
|
117 |
+
"cy"
|
118 |
+
],
|
119 |
+
[
|
120 |
+
"Gymrodd dipyn o amser i mi ddatblygu llais a nawr mae gen i, nid wyf yn mynd i fod yn dawel",
|
121 |
+
"benyw-gogledd-pro",
|
122 |
+
null,
|
123 |
+
"cy"
|
124 |
+
],
|
125 |
+
[
|
126 |
+
"The next train for Aberystwyth is leaving platform three at quarter past two o'clock",
|
127 |
+
"benyw-gogledd-pro",
|
128 |
+
null,
|
129 |
+
"cy"
|
130 |
+
],
|
131 |
+
[
|
132 |
+
"Bydd y tr\u00ean nesaf am Aberystwyth yn gadael platfform 3 am gwater wedi dau o'r gloch",
|
133 |
+
"benyw-gogledd-pro",
|
134 |
+
null,
|
135 |
+
"cy"
|
136 |
+
],
|
137 |
+
[
|
138 |
+
"It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
|
139 |
+
"benyw-de-pro",
|
140 |
+
null,
|
141 |
+
"cy"
|
142 |
+
],
|
143 |
+
[
|
144 |
+
"Gymrodd dipyn o amser i mi ddatblygu llais a nawr mae gen i, nid wyf yn mynd i fod yn dawel",
|
145 |
+
"benyw-de-pro",
|
146 |
+
null,
|
147 |
+
"cy"
|
148 |
+
],
|
149 |
+
[
|
150 |
+
"The next train for Aberystwyth is leaving platform three at quarter past two o'clock",
|
151 |
+
"benyw-de-pro",
|
152 |
+
null,
|
153 |
+
"cy"
|
154 |
+
],
|
155 |
+
[
|
156 |
+
"Bydd y tr\u00ean nesaf am Aberystwyth yn gadael platfform 3 am gwater wedi dau o'r gloch",
|
157 |
+
"benyw-de-pro",
|
158 |
+
null,
|
159 |
+
"cy"
|
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 |
+
"gwryw-gogledd-pro",
|
164 |
+
null,
|
165 |
+
"cy"
|
166 |
+
],
|
167 |
+
[
|
168 |
+
"Gymrodd dipyn o amser i mi ddatblygu llais a nawr mae gen i, nid wyf yn mynd i fod yn dawel",
|
169 |
+
"gwryw-gogledd-pro",
|
170 |
+
null,
|
171 |
+
"cy"
|
172 |
+
],
|
173 |
+
[
|
174 |
+
"The next train for Aberystwyth is leaving platform three at quarter past two o'clock",
|
175 |
+
"gwryw-gogledd-pro",
|
176 |
+
null,
|
177 |
+
"cy"
|
178 |
+
],
|
179 |
+
[
|
180 |
+
"Bydd y tr\u00ean nesaf am Aberystwyth yn gadael platfform 3 am gwater wedi dau o'r gloch",
|
181 |
+
"gwryw-gogledd-pro",
|
182 |
+
null,
|
183 |
+
"cy"
|
184 |
+
]
|
185 |
+
],
|
186 |
+
"eval_split_max_size": null,
|
187 |
+
"eval_split_size": 0.01,
|
188 |
+
"use_speaker_weighted_sampler": false,
|
189 |
+
"speaker_weighted_sampler_alpha": 1.0,
|
190 |
+
"use_language_weighted_sampler": true,
|
191 |
+
"language_weighted_sampler_alpha": 1.0,
|
192 |
+
"use_length_weighted_sampler": false,
|
193 |
+
"length_weighted_sampler_alpha": 1.0,
|
194 |
+
"model_args": {
|
195 |
+
"num_chars": 110,
|
196 |
+
"out_channels": 513,
|
197 |
+
"spec_segment_size": 32,
|
198 |
+
"hidden_channels": 192,
|
199 |
+
"hidden_channels_ffn_text_encoder": 768,
|
200 |
+
"num_heads_text_encoder": 2,
|
201 |
+
"num_layers_text_encoder": 6,
|
202 |
+
"kernel_size_text_encoder": 3,
|
203 |
+
"dropout_p_text_encoder": 0.1,
|
204 |
+
"dropout_p_duration_predictor": 0.5,
|
205 |
+
"kernel_size_posterior_encoder": 5,
|
206 |
+
"dilation_rate_posterior_encoder": 1,
|
207 |
+
"num_layers_posterior_encoder": 16,
|
208 |
+
"kernel_size_flow": 5,
|
209 |
+
"dilation_rate_flow": 1,
|
210 |
+
"num_layers_flow": 4,
|
211 |
+
"resblock_type_decoder": "1",
|
212 |
+
"resblock_kernel_sizes_decoder": [
|
213 |
+
3,
|
214 |
+
7,
|
215 |
+
11
|
216 |
+
],
|
217 |
+
"resblock_dilation_sizes_decoder": [
|
218 |
+
[
|
219 |
+
1,
|
220 |
+
3,
|
221 |
+
5
|
222 |
+
],
|
223 |
+
[
|
224 |
+
1,
|
225 |
+
3,
|
226 |
+
5
|
227 |
+
],
|
228 |
+
[
|
229 |
+
1,
|
230 |
+
3,
|
231 |
+
5
|
232 |
+
]
|
233 |
+
],
|
234 |
+
"upsample_rates_decoder": [
|
235 |
+
8,
|
236 |
+
8,
|
237 |
+
2,
|
238 |
+
2
|
239 |
+
],
|
240 |
+
"upsample_initial_channel_decoder": 512,
|
241 |
+
"upsample_kernel_sizes_decoder": [
|
242 |
+
16,
|
243 |
+
16,
|
244 |
+
4,
|
245 |
+
4
|
246 |
+
],
|
247 |
+
"periods_multi_period_discriminator": [
|
248 |
+
2,
|
249 |
+
3,
|
250 |
+
5,
|
251 |
+
7,
|
252 |
+
11
|
253 |
+
],
|
254 |
+
"use_sdp": false,
|
255 |
+
"noise_scale": 1.0,
|
256 |
+
"inference_noise_scale": 0.667,
|
257 |
+
"length_scale": 1.0,
|
258 |
+
"noise_scale_dp": 1.0,
|
259 |
+
"inference_noise_scale_dp": 1.0,
|
260 |
+
"max_inference_len": null,
|
261 |
+
"init_discriminator": true,
|
262 |
+
"use_spectral_norm_disriminator": false,
|
263 |
+
"use_speaker_embedding": true,
|
264 |
+
"num_speakers": 3,
|
265 |
+
"speakers_file": "models/speakers.pth",
|
266 |
+
"d_vector_file": null,
|
267 |
+
"speaker_embedding_channels": 256,
|
268 |
+
"use_d_vector_file": false,
|
269 |
+
"d_vector_dim": 0,
|
270 |
+
"detach_dp_input": true,
|
271 |
+
"use_language_embedding": true,
|
272 |
+
"embedded_language_dim": 4,
|
273 |
+
"num_languages": 1,
|
274 |
+
"language_ids_file": "models/language_ids.json",
|
275 |
+
"use_speaker_encoder_as_loss": false,
|
276 |
+
"speaker_encoder_config_path": "",
|
277 |
+
"speaker_encoder_model_path": "",
|
278 |
+
"condition_dp_on_speaker": true,
|
279 |
+
"freeze_encoder": false,
|
280 |
+
"freeze_DP": false,
|
281 |
+
"freeze_PE": false,
|
282 |
+
"freeze_flow_decoder": false,
|
283 |
+
"freeze_waveform_decoder": false,
|
284 |
+
"encoder_sample_rate": null,
|
285 |
+
"interpolate_z": true,
|
286 |
+
"reinit_DP": false,
|
287 |
+
"reinit_text_encoder": false
|
288 |
+
},
|
289 |
+
"lr_gen": 0.0002,
|
290 |
+
"lr_disc": 0.0002,
|
291 |
+
"lr_scheduler_gen": "ExponentialLR",
|
292 |
+
"lr_scheduler_gen_params": {
|
293 |
+
"gamma": 0.999875,
|
294 |
+
"last_epoch": -1
|
295 |
+
},
|
296 |
+
"lr_scheduler_disc": "ExponentialLR",
|
297 |
+
"lr_scheduler_disc_params": {
|
298 |
+
"gamma": 0.999875,
|
299 |
+
"last_epoch": -1
|
300 |
+
},
|
301 |
+
"kl_loss_alpha": 1.0,
|
302 |
+
"disc_loss_alpha": 1.0,
|
303 |
+
"gen_loss_alpha": 1.0,
|
304 |
+
"feat_loss_alpha": 1.0,
|
305 |
+
"mel_loss_alpha": 45.0,
|
306 |
+
"dur_loss_alpha": 1.0,
|
307 |
+
"speaker_encoder_loss_alpha": 1.0,
|
308 |
+
"return_wav": true,
|
309 |
+
"use_weighted_sampler": false,
|
310 |
+
"weighted_sampler_attrs": {},
|
311 |
+
"weighted_sampler_multipliers": {},
|
312 |
+
"r": 1,
|
313 |
+
"num_speakers": 0,
|
314 |
+
"use_speaker_embedding": true,
|
315 |
+
"speakers_file": "models/speakers.pth",
|
316 |
+
"speaker_embedding_channels": 256,
|
317 |
+
"language_ids_file": "models/language_ids.json",
|
318 |
+
"use_language_embedding": true,
|
319 |
+
"use_d_vector_file": false,
|
320 |
+
"d_vector_file": null,
|
321 |
+
"d_vector_dim": 0
|
322 |
+
}
|
language_ids.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cy": 0
|
3 |
+
}
|
speakers.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d4db5b592d43afdc482ef7e29de6d9a3dae55444b0b7ae793054aff62170db3
|
3 |
+
size 495
|