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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"output_path": "/kaggle/working/train_output",
|
3 |
+
"logger_uri": null,
|
4 |
+
"run_name": "vits_kbd_male",
|
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": 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": 32,
|
30 |
+
"eval_batch_size": 16,
|
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": {},
|
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": 0,
|
56 |
+
"num_eval_loader_workers": 2,
|
57 |
+
"use_noise_augment": false,
|
58 |
+
"audio": {
|
59 |
+
"fft_size": 1024,
|
60 |
+
"win_length": 1024,
|
61 |
+
"hop_length": 256,
|
62 |
+
"frame_shift_ms": null,
|
63 |
+
"frame_length_ms": null,
|
64 |
+
"stft_pad_mode": "reflect",
|
65 |
+
"sample_rate": 24000,
|
66 |
+
"resample": false,
|
67 |
+
"preemphasis": 0.0,
|
68 |
+
"ref_level_db": 20,
|
69 |
+
"do_sound_norm": false,
|
70 |
+
"log_func": "np.log10",
|
71 |
+
"do_trim_silence": true,
|
72 |
+
"trim_db": 45,
|
73 |
+
"do_rms_norm": false,
|
74 |
+
"db_level": null,
|
75 |
+
"power": 1.5,
|
76 |
+
"griffin_lim_iters": 60,
|
77 |
+
"num_mels": 80,
|
78 |
+
"mel_fmin": 0,
|
79 |
+
"mel_fmax": null,
|
80 |
+
"spec_gain": 20,
|
81 |
+
"do_amp_to_db_linear": true,
|
82 |
+
"do_amp_to_db_mel": true,
|
83 |
+
"pitch_fmax": 640.0,
|
84 |
+
"pitch_fmin": 1.0,
|
85 |
+
"signal_norm": true,
|
86 |
+
"min_level_db": -100,
|
87 |
+
"symmetric_norm": true,
|
88 |
+
"max_norm": 4.0,
|
89 |
+
"clip_norm": true,
|
90 |
+
"stats_path": null
|
91 |
+
},
|
92 |
+
"use_phonemes": false,
|
93 |
+
"phonemizer": null,
|
94 |
+
"phoneme_language": null,
|
95 |
+
"compute_input_seq_cache": true,
|
96 |
+
"text_cleaner": "basic_cleaners",
|
97 |
+
"enable_eos_bos_chars": false,
|
98 |
+
"test_sentences_file": "",
|
99 |
+
"phoneme_cache_path": "/kaggle/working/train_output/phoneme_cache",
|
100 |
+
"characters": {
|
101 |
+
"characters_class": "TTS.tts.utils.text.characters.Graphemes",
|
102 |
+
"vocab_dict": null,
|
103 |
+
"pad": "<PAD>",
|
104 |
+
"eos": "<EOS>",
|
105 |
+
"bos": "<BOS>",
|
106 |
+
"blank": "<BLNK>",
|
107 |
+
"characters": "abnhikorst\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\u04cf",
|
108 |
+
"punctuations": "!\"(),-.:?\u00ab\u00bb\u2013 ",
|
109 |
+
"phonemes": "",
|
110 |
+
"is_unique": true,
|
111 |
+
"is_sorted": true
|
112 |
+
},
|
113 |
+
"add_blank": true,
|
114 |
+
"batch_group_size": 5,
|
115 |
+
"loss_masking": null,
|
116 |
+
"min_audio_len": 1,
|
117 |
+
"max_audio_len": Infinity,
|
118 |
+
"min_text_len": 1,
|
119 |
+
"max_text_len": Infinity,
|
120 |
+
"compute_f0": false,
|
121 |
+
"compute_energy": false,
|
122 |
+
"compute_linear_spec": true,
|
123 |
+
"precompute_num_workers": 0,
|
124 |
+
"start_by_longest": false,
|
125 |
+
"shuffle": false,
|
126 |
+
"drop_last": false,
|
127 |
+
"datasets": [
|
128 |
+
{
|
129 |
+
"formatter": "mozilla",
|
130 |
+
"dataset_name": "",
|
131 |
+
"path": "/kaggle/input/circassian-kbd-tts-male",
|
132 |
+
"meta_file_train": "metadata.csv",
|
133 |
+
"ignored_speakers": null,
|
134 |
+
"language": "",
|
135 |
+
"phonemizer": "",
|
136 |
+
"meta_file_val": "",
|
137 |
+
"meta_file_attn_mask": ""
|
138 |
+
}
|
139 |
+
],
|
140 |
+
"test_sentences": [
|
141 |
+
[
|
142 |
+
"\u0441\u0438 \u043d\u044d\u0445\u0443\u043d\u044d\u0440 \u043a\u044a\u044d\u0445\u044a\u0443\u0443\u044d \u0449\u044b\u0442\u043c\u044d \u043b\u04cf\u044b \u0445\u044d\u043a\u04cf\u044b\u043d\u0449"
|
143 |
+
],
|
144 |
+
[
|
145 |
+
"\u043a\u044a\u044b\u0444\u04cf\u044d\u0433\u044a\u044d\u043d\u044d\u043d"
|
146 |
+
],
|
147 |
+
[
|
148 |
+
"\u0443\u0438 \u0443\u043d\u044d\u0436\u044c \u0445\u0443\u044d\u0434\u044d \u0449\u044b\u04cf\u044d\u043a\u044a\u044b\u043c"
|
149 |
+
],
|
150 |
+
[
|
151 |
+
"\u0442\u0445\u044b\u043b\u044a \u043f\u04cf\u0430\u0449\u044d\u0440 \u0437\u044b\u0442\u0435\u0443\u0445\u0443\u0430\u0440"
|
152 |
+
],
|
153 |
+
[
|
154 |
+
"\u043b\u044a\u044b\u043f\u0446\u04cf\u044d"
|
155 |
+
],
|
156 |
+
[
|
157 |
+
"\u043f\u0449\u044b\u0445\u044c\u044d\u0449\u0445\u044c\u044d\u0440 \u0434\u0430\u0443\u044d \u0431\u0433\u044a\u044d\u043a\u04cf\u0443\u044d\u043d\u0443?|"
|
158 |
+
],
|
159 |
+
[
|
160 |
+
"\u043b\u044d\u0436\u044c\u0430\u043f\u04cf\u044d\u043d\u0448\u0430\u0433\u044a\u044d"
|
161 |
+
],
|
162 |
+
[
|
163 |
+
"\u0437\u044b\u043a\u044a\u044b\u043a\u04cf\u0443\u044d\u0446\u04cf\u044b\u0437\u0433\u044a\u044d\u0434\u0436\u044d\u0440\u044d\u0437\u044b\u043a\u04cf\u044b\u0436\u044b\u0444\u0430 \u043c\u044b\u0433\u044a\u0443\u044d\u043a\u044a\u044b\u043c"
|
164 |
+
],
|
165 |
+
[
|
166 |
+
"\u043f\u0441\u043e\u0440\u0438 \u0437\u044d\u0440\u044b\u0443\u0437\u044b\u043d\u0448\u044d\u0440 \u043d\u044d\u0445\u044a\u0430\u043f\u044d\u0449"
|
167 |
+
]
|
168 |
+
],
|
169 |
+
"eval_split_max_size": null,
|
170 |
+
"eval_split_size": 0.01,
|
171 |
+
"use_speaker_weighted_sampler": false,
|
172 |
+
"speaker_weighted_sampler_alpha": 1.0,
|
173 |
+
"use_language_weighted_sampler": false,
|
174 |
+
"language_weighted_sampler_alpha": 1.0,
|
175 |
+
"use_length_weighted_sampler": false,
|
176 |
+
"length_weighted_sampler_alpha": 1.0,
|
177 |
+
"model_args": {
|
178 |
+
"num_chars": 60,
|
179 |
+
"out_channels": 513,
|
180 |
+
"spec_segment_size": 32,
|
181 |
+
"hidden_channels": 192,
|
182 |
+
"hidden_channels_ffn_text_encoder": 768,
|
183 |
+
"num_heads_text_encoder": 2,
|
184 |
+
"num_layers_text_encoder": 6,
|
185 |
+
"kernel_size_text_encoder": 3,
|
186 |
+
"dropout_p_text_encoder": 0.1,
|
187 |
+
"dropout_p_duration_predictor": 0.5,
|
188 |
+
"kernel_size_posterior_encoder": 5,
|
189 |
+
"dilation_rate_posterior_encoder": 1,
|
190 |
+
"num_layers_posterior_encoder": 16,
|
191 |
+
"kernel_size_flow": 5,
|
192 |
+
"dilation_rate_flow": 1,
|
193 |
+
"num_layers_flow": 4,
|
194 |
+
"resblock_type_decoder": "1",
|
195 |
+
"resblock_kernel_sizes_decoder": [
|
196 |
+
3,
|
197 |
+
7,
|
198 |
+
11
|
199 |
+
],
|
200 |
+
"resblock_dilation_sizes_decoder": [
|
201 |
+
[
|
202 |
+
1,
|
203 |
+
3,
|
204 |
+
5
|
205 |
+
],
|
206 |
+
[
|
207 |
+
1,
|
208 |
+
3,
|
209 |
+
5
|
210 |
+
],
|
211 |
+
[
|
212 |
+
1,
|
213 |
+
3,
|
214 |
+
5
|
215 |
+
]
|
216 |
+
],
|
217 |
+
"upsample_rates_decoder": [
|
218 |
+
8,
|
219 |
+
8,
|
220 |
+
2,
|
221 |
+
2
|
222 |
+
],
|
223 |
+
"upsample_initial_channel_decoder": 512,
|
224 |
+
"upsample_kernel_sizes_decoder": [
|
225 |
+
16,
|
226 |
+
16,
|
227 |
+
4,
|
228 |
+
4
|
229 |
+
],
|
230 |
+
"periods_multi_period_discriminator": [
|
231 |
+
2,
|
232 |
+
3,
|
233 |
+
5,
|
234 |
+
7,
|
235 |
+
11
|
236 |
+
],
|
237 |
+
"use_sdp": true,
|
238 |
+
"noise_scale": 1.0,
|
239 |
+
"inference_noise_scale": 0.667,
|
240 |
+
"length_scale": 1,
|
241 |
+
"noise_scale_dp": 1.0,
|
242 |
+
"inference_noise_scale_dp": 1.0,
|
243 |
+
"max_inference_len": null,
|
244 |
+
"init_discriminator": true,
|
245 |
+
"use_spectral_norm_disriminator": false,
|
246 |
+
"use_speaker_embedding": false,
|
247 |
+
"num_speakers": 0,
|
248 |
+
"speakers_file": null,
|
249 |
+
"d_vector_file": null,
|
250 |
+
"speaker_embedding_channels": 256,
|
251 |
+
"use_d_vector_file": false,
|
252 |
+
"d_vector_dim": 0,
|
253 |
+
"detach_dp_input": true,
|
254 |
+
"use_language_embedding": false,
|
255 |
+
"embedded_language_dim": 4,
|
256 |
+
"num_languages": 0,
|
257 |
+
"language_ids_file": null,
|
258 |
+
"use_speaker_encoder_as_loss": false,
|
259 |
+
"speaker_encoder_config_path": "",
|
260 |
+
"speaker_encoder_model_path": "",
|
261 |
+
"condition_dp_on_speaker": true,
|
262 |
+
"freeze_encoder": false,
|
263 |
+
"freeze_DP": false,
|
264 |
+
"freeze_PE": false,
|
265 |
+
"freeze_flow_decoder": false,
|
266 |
+
"freeze_waveform_decoder": false,
|
267 |
+
"encoder_sample_rate": null,
|
268 |
+
"interpolate_z": true,
|
269 |
+
"reinit_DP": false,
|
270 |
+
"reinit_text_encoder": false
|
271 |
+
},
|
272 |
+
"lr_gen": 0.0002,
|
273 |
+
"lr_disc": 0.0002,
|
274 |
+
"lr_scheduler_gen": "ExponentialLR",
|
275 |
+
"lr_scheduler_gen_params": {
|
276 |
+
"gamma": 0.999875,
|
277 |
+
"last_epoch": -1
|
278 |
+
},
|
279 |
+
"lr_scheduler_disc": "ExponentialLR",
|
280 |
+
"lr_scheduler_disc_params": {
|
281 |
+
"gamma": 0.999875,
|
282 |
+
"last_epoch": -1
|
283 |
+
},
|
284 |
+
"kl_loss_alpha": 1.0,
|
285 |
+
"disc_loss_alpha": 1.0,
|
286 |
+
"gen_loss_alpha": 1.0,
|
287 |
+
"feat_loss_alpha": 1.0,
|
288 |
+
"mel_loss_alpha": 45.0,
|
289 |
+
"dur_loss_alpha": 1.0,
|
290 |
+
"speaker_encoder_loss_alpha": 1.0,
|
291 |
+
"return_wav": true,
|
292 |
+
"use_weighted_sampler": false,
|
293 |
+
"weighted_sampler_attrs": {},
|
294 |
+
"weighted_sampler_multipliers": {},
|
295 |
+
"r": 1,
|
296 |
+
"num_speakers": 0,
|
297 |
+
"use_speaker_embedding": false,
|
298 |
+
"speakers_file": null,
|
299 |
+
"speaker_embedding_channels": 256,
|
300 |
+
"language_ids_file": null,
|
301 |
+
"use_language_embedding": false,
|
302 |
+
"use_d_vector_file": false,
|
303 |
+
"d_vector_file": null,
|
304 |
+
"d_vector_dim": 0,
|
305 |
+
"github_branch": "inside_docker"
|
306 |
+
}
|