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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"output_path": "/home/ec2-user/SageMaker/tts-sage/recipes/ljspeech/vits_tts",
|
3 |
+
"logger_uri": null,
|
4 |
+
"run_name": "tts-adam-48k",
|
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 |
+
"save_on_interrupt": true,
|
13 |
+
"log_model_step": null,
|
14 |
+
"save_step": 1000,
|
15 |
+
"save_n_checkpoints": 4,
|
16 |
+
"save_checkpoints": true,
|
17 |
+
"save_all_best": false,
|
18 |
+
"save_best_after": 1000,
|
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": true,
|
27 |
+
"precision": "fp16",
|
28 |
+
"epochs": 100000,
|
29 |
+
"batch_size": 7,
|
30 |
+
"eval_batch_size": 12,
|
31 |
+
"grad_clip": [
|
32 |
+
1000,
|
33 |
+
1000
|
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": null,
|
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": false,
|
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": 48000,
|
61 |
+
"win_length": 1024,
|
62 |
+
"hop_length": 256,
|
63 |
+
"num_mels": 80,
|
64 |
+
"mel_fmin": 0,
|
65 |
+
"mel_fmax": null
|
66 |
+
},
|
67 |
+
"use_phonemes": true,
|
68 |
+
"phonemizer": "espeak",
|
69 |
+
"phoneme_language": "en-us",
|
70 |
+
"compute_input_seq_cache": true,
|
71 |
+
"text_cleaner": "multilingual_cleaners",
|
72 |
+
"enable_eos_bos_chars": false,
|
73 |
+
"test_sentences_file": "",
|
74 |
+
"phoneme_cache_path": "/home/ec2-user/SageMaker/tts-sage/recipes/ljspeech/vits_tts/phoneme_cache",
|
75 |
+
"characters": {
|
76 |
+
"characters_class": "TTS.tts.utils.text.characters.IPAPhonemes",
|
77 |
+
"vocab_dict": null,
|
78 |
+
"pad": "<PAD>",
|
79 |
+
"eos": "<EOS>",
|
80 |
+
"bos": "<BOS>",
|
81 |
+
"blank": "<BLNK>",
|
82 |
+
"characters": "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\u02b2\u025a\u02de\u026b",
|
83 |
+
"punctuations": "!'(),-.:;? ",
|
84 |
+
"phonemes": null,
|
85 |
+
"is_unique": false,
|
86 |
+
"is_sorted": true
|
87 |
+
},
|
88 |
+
"add_blank": true,
|
89 |
+
"batch_group_size": 4,
|
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": "ljspeech",
|
105 |
+
"dataset_name": "",
|
106 |
+
"path": "/home/ec2-user/SageMaker/tts-sage/recipes/ljspeech/vits_tts/adam",
|
107 |
+
"meta_file_train": "metadata.csv",
|
108 |
+
"ignored_speakers": null,
|
109 |
+
"language": "",
|
110 |
+
"phonemizer": "",
|
111 |
+
"meta_file_val": "",
|
112 |
+
"meta_file_attn_mask": ""
|
113 |
+
}
|
114 |
+
],
|
115 |
+
"test_sentences": [
|
116 |
+
[
|
117 |
+
"It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent."
|
118 |
+
],
|
119 |
+
[
|
120 |
+
"Be a voice, not an echo."
|
121 |
+
],
|
122 |
+
[
|
123 |
+
"I'm sorry Dave. I'm afraid I can't do that."
|
124 |
+
],
|
125 |
+
[
|
126 |
+
"This cake is great. It's so delicious and moist."
|
127 |
+
],
|
128 |
+
[
|
129 |
+
"Prior to November 22, 1963."
|
130 |
+
]
|
131 |
+
],
|
132 |
+
"eval_split_max_size": null,
|
133 |
+
"eval_split_size": 0.01,
|
134 |
+
"use_speaker_weighted_sampler": false,
|
135 |
+
"speaker_weighted_sampler_alpha": 1.0,
|
136 |
+
"use_language_weighted_sampler": false,
|
137 |
+
"language_weighted_sampler_alpha": 1.0,
|
138 |
+
"use_length_weighted_sampler": false,
|
139 |
+
"length_weighted_sampler_alpha": 1.0,
|
140 |
+
"model_args": {
|
141 |
+
"num_chars": 131,
|
142 |
+
"out_channels": 513,
|
143 |
+
"spec_segment_size": 32,
|
144 |
+
"hidden_channels": 192,
|
145 |
+
"hidden_channels_ffn_text_encoder": 768,
|
146 |
+
"num_heads_text_encoder": 2,
|
147 |
+
"num_layers_text_encoder": 6,
|
148 |
+
"kernel_size_text_encoder": 3,
|
149 |
+
"dropout_p_text_encoder": 0.1,
|
150 |
+
"dropout_p_duration_predictor": 0.5,
|
151 |
+
"kernel_size_posterior_encoder": 5,
|
152 |
+
"dilation_rate_posterior_encoder": 1,
|
153 |
+
"num_layers_posterior_encoder": 16,
|
154 |
+
"kernel_size_flow": 5,
|
155 |
+
"dilation_rate_flow": 1,
|
156 |
+
"num_layers_flow": 4,
|
157 |
+
"resblock_type_decoder": "1",
|
158 |
+
"resblock_kernel_sizes_decoder": [
|
159 |
+
3,
|
160 |
+
7,
|
161 |
+
11
|
162 |
+
],
|
163 |
+
"resblock_dilation_sizes_decoder": [
|
164 |
+
[
|
165 |
+
1,
|
166 |
+
3,
|
167 |
+
5
|
168 |
+
],
|
169 |
+
[
|
170 |
+
1,
|
171 |
+
3,
|
172 |
+
5
|
173 |
+
],
|
174 |
+
[
|
175 |
+
1,
|
176 |
+
3,
|
177 |
+
5
|
178 |
+
]
|
179 |
+
],
|
180 |
+
"upsample_rates_decoder": [
|
181 |
+
8,
|
182 |
+
8,
|
183 |
+
2,
|
184 |
+
2
|
185 |
+
],
|
186 |
+
"upsample_initial_channel_decoder": 512,
|
187 |
+
"upsample_kernel_sizes_decoder": [
|
188 |
+
16,
|
189 |
+
16,
|
190 |
+
4,
|
191 |
+
4
|
192 |
+
],
|
193 |
+
"periods_multi_period_discriminator": [
|
194 |
+
2,
|
195 |
+
3,
|
196 |
+
5,
|
197 |
+
7,
|
198 |
+
11
|
199 |
+
],
|
200 |
+
"use_sdp": true,
|
201 |
+
"noise_scale": 1.0,
|
202 |
+
"inference_noise_scale": 0.667,
|
203 |
+
"length_scale": 1,
|
204 |
+
"noise_scale_dp": 1.0,
|
205 |
+
"inference_noise_scale_dp": 1.0,
|
206 |
+
"max_inference_len": null,
|
207 |
+
"init_discriminator": true,
|
208 |
+
"use_spectral_norm_disriminator": false,
|
209 |
+
"use_speaker_embedding": false,
|
210 |
+
"num_speakers": 0,
|
211 |
+
"speakers_file": null,
|
212 |
+
"d_vector_file": null,
|
213 |
+
"speaker_embedding_channels": 256,
|
214 |
+
"use_d_vector_file": false,
|
215 |
+
"d_vector_dim": 0,
|
216 |
+
"detach_dp_input": true,
|
217 |
+
"use_language_embedding": false,
|
218 |
+
"embedded_language_dim": 4,
|
219 |
+
"num_languages": 0,
|
220 |
+
"language_ids_file": null,
|
221 |
+
"use_speaker_encoder_as_loss": false,
|
222 |
+
"speaker_encoder_config_path": "",
|
223 |
+
"speaker_encoder_model_path": "",
|
224 |
+
"condition_dp_on_speaker": true,
|
225 |
+
"freeze_encoder": false,
|
226 |
+
"freeze_DP": false,
|
227 |
+
"freeze_PE": false,
|
228 |
+
"freeze_flow_decoder": false,
|
229 |
+
"freeze_waveform_decoder": false,
|
230 |
+
"encoder_sample_rate": null,
|
231 |
+
"interpolate_z": true,
|
232 |
+
"reinit_DP": false,
|
233 |
+
"reinit_text_encoder": false
|
234 |
+
},
|
235 |
+
"lr_gen": 0.0002,
|
236 |
+
"lr_disc": 0.0002,
|
237 |
+
"lr_scheduler_gen": "ExponentialLR",
|
238 |
+
"lr_scheduler_gen_params": {
|
239 |
+
"gamma": 0.999875,
|
240 |
+
"last_epoch": -1
|
241 |
+
},
|
242 |
+
"lr_scheduler_disc": "ExponentialLR",
|
243 |
+
"lr_scheduler_disc_params": {
|
244 |
+
"gamma": 0.999875,
|
245 |
+
"last_epoch": -1
|
246 |
+
},
|
247 |
+
"kl_loss_alpha": 1.0,
|
248 |
+
"disc_loss_alpha": 1.0,
|
249 |
+
"gen_loss_alpha": 1.0,
|
250 |
+
"feat_loss_alpha": 1.0,
|
251 |
+
"mel_loss_alpha": 45.0,
|
252 |
+
"dur_loss_alpha": 1.0,
|
253 |
+
"speaker_encoder_loss_alpha": 1.0,
|
254 |
+
"return_wav": true,
|
255 |
+
"use_weighted_sampler": false,
|
256 |
+
"weighted_sampler_attrs": null,
|
257 |
+
"weighted_sampler_multipliers": null,
|
258 |
+
"r": 1,
|
259 |
+
"num_speakers": 0,
|
260 |
+
"use_speaker_embedding": false,
|
261 |
+
"speakers_file": null,
|
262 |
+
"speaker_embedding_channels": 256,
|
263 |
+
"language_ids_file": null,
|
264 |
+
"use_language_embedding": false,
|
265 |
+
"use_d_vector_file": false,
|
266 |
+
"d_vector_file": null,
|
267 |
+
"d_vector_dim": 0
|
268 |
+
}
|