Kamtera commited on
Commit
d32d827
1 Parent(s): d676a85

Create config-1.json

Browse files
Files changed (1) hide show
  1. config-1.json +266 -0
config-1.json ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "/kaggle/working/train_output",
3
+ "logger_uri": null,
4
+ "run_name": "vits_fa_female",
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": null,
13
+ "save_step": 1000,
14
+ "save_n_checkpoints": 5,
15
+ "save_checkpoints": true,
16
+ "save_all_best": false,
17
+ "save_best_after": 1000,
18
+ "target_loss": null,
19
+ "print_eval": true,
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": false,
26
+ "epochs": 1000,
27
+ "batch_size": 32,
28
+ "eval_batch_size": 16,
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": 0,
53
+ "num_eval_loader_workers": 2,
54
+ "use_noise_augment": false,
55
+ "audio": {
56
+ "fft_size": 1024,
57
+ "sample_rate": 24000,
58
+ "win_length": 1024,
59
+ "hop_length": 256,
60
+ "num_mels": 80,
61
+ "mel_fmin": 0,
62
+ "mel_fmax": null
63
+ },
64
+ "use_phonemes": true,
65
+ "phonemizer": "espeak",
66
+ "phoneme_language": "fa",
67
+ "compute_input_seq_cache": true,
68
+ "text_cleaner": "basic_cleaners",
69
+ "enable_eos_bos_chars": false,
70
+ "test_sentences_file": "",
71
+ "phoneme_cache_path": "/kaggle/working/train_output/phoneme_cache",
72
+ "characters": {
73
+ "characters_class": "TTS.tts.utils.text.characters.IPAPhonemes",
74
+ "vocab_dict": null,
75
+ "pad": "<PAD>",
76
+ "eos": "<EOS>",
77
+ "bos": "<BOS>",
78
+ "blank": "<BLNK>",
79
+ "characters": "\u02c8\u02cc\u02d0\u02d1pbtd\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\u029faegiouwy\u026a\u028a\u0329\u00e6\u0251\u0254\u0259\u025a\u025b\u025d\u0268\u0303\u0289\u028c\u028d0123456789\"#$%*+/=ABCDEFGHIJKLMNOPRSTUVWXYZ[]^_{}",
80
+ "punctuations": "!(),-.:;? \u0320\u060c\u061b\u061f\u200c<>",
81
+ "phonemes": "\u02c8\u02cc\u02d0\u02d1pbtd\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\u029faegiouwy\u026a\u028a\u0329\u00e6\u0251\u0254\u0259\u025a\u025b\u025d\u0268\u0303\u0289\u028c\u028d0123456789\"#$%*+/=ABCDEFGHIJKLMNOPRSTUVWXYZ[]^_{}",
82
+ "is_unique": true,
83
+ "is_sorted": true
84
+ },
85
+ "add_blank": true,
86
+ "batch_group_size": 5,
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_linear_spec": true,
94
+ "precompute_num_workers": 0,
95
+ "start_by_longest": false,
96
+ "shuffle": false,
97
+ "drop_last": false,
98
+ "datasets": [
99
+ {
100
+ "formatter": "mozilla",
101
+ "dataset_name": "",
102
+ "path": "/kaggle/input/persian-tts-dataset-famale",
103
+ "meta_file_train": "metadata.csv",
104
+ "ignored_speakers": null,
105
+ "language": "",
106
+ "phonemizer": "",
107
+ "meta_file_val": "",
108
+ "meta_file_attn_mask": ""
109
+ }
110
+ ],
111
+ "test_sentences": [
112
+ [
113
+ "\u0633\u0644\u0637\u0627\u0646 \u0645\u062d\u0645\u0648\u062f \u062f\u0631 \u0632\u0645\u0633\u062a\u0627\u0646\u06cc \u0633\u062e\u062a \u0628\u0647 \u0637\u0644\u062e\u06a9 \u06af\u0641\u062a \u06a9\u0647: \u0628\u0627 \u0627\u06cc\u0646 \u062c\u0627\u0645\u0647 \u06cc \u06cc\u06a9 \u0644\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0633\u0631\u0645\u0627 \u0686\u0647 \u0645\u06cc \u06a9\u0646\u06cc "
114
+ ],
115
+ [
116
+ "\u0645\u0631\u062f\u06cc \u0646\u0632\u062f \u0628\u0642\u0627\u0644\u06cc \u0622\u0645\u062f \u0648 \u06af\u0641\u062a \u067e\u06cc\u0627\u0632 \u0647\u0645 \u062f\u0647 \u062a\u0627 \u062f\u0647\u0627\u0646 \u0628\u062f\u0627\u0646 \u062e\u0648 \u0634\u0628\u0648\u06cc \u0633\u0627\u0632\u0645."
117
+ ],
118
+ [
119
+ "\u0627\u0632 \u0645\u0627\u0644 \u062e\u0648\u062f \u067e\u0627\u0631\u0647 \u0627\u06cc \u06af\u0648\u0634\u062a \u0628\u0633\u062a\u0627\u0646 \u0648 \u0632\u06cc\u0631\u0647 \u0628\u0627\u06cc\u06cc \u0645\u0639\u0637\u0651\u0631 \u0628\u0633\u0627\u0632"
120
+ ],
121
+ [
122
+ "\u06cc\u06a9 \u0628\u0627\u0631 \u0647\u0645 \u0627\u0632 \u062c\u0647\u0646\u0645 \u0628\u06af\u0648\u06cc\u06cc\u062f."
123
+ ],
124
+ [
125
+ "\u06cc\u06a9\u06cc \u0627\u0633\u0628\u06cc \u0628\u0647 \u0639\u0627\u0631\u06cc\u062a \u062e\u0648\u0627\u0633\u062a"
126
+ ]
127
+ ],
128
+ "eval_split_max_size": null,
129
+ "eval_split_size": 0.01,
130
+ "use_speaker_weighted_sampler": false,
131
+ "speaker_weighted_sampler_alpha": 1.0,
132
+ "use_language_weighted_sampler": false,
133
+ "language_weighted_sampler_alpha": 1.0,
134
+ "use_length_weighted_sampler": false,
135
+ "length_weighted_sampler_alpha": 1.0,
136
+ "model_args": {
137
+ "num_chars": 156,
138
+ "out_channels": 513,
139
+ "spec_segment_size": 32,
140
+ "hidden_channels": 192,
141
+ "hidden_channels_ffn_text_encoder": 768,
142
+ "num_heads_text_encoder": 2,
143
+ "num_layers_text_encoder": 6,
144
+ "kernel_size_text_encoder": 3,
145
+ "dropout_p_text_encoder": 0.1,
146
+ "dropout_p_duration_predictor": 0.5,
147
+ "kernel_size_posterior_encoder": 5,
148
+ "dilation_rate_posterior_encoder": 1,
149
+ "num_layers_posterior_encoder": 16,
150
+ "kernel_size_flow": 5,
151
+ "dilation_rate_flow": 1,
152
+ "num_layers_flow": 4,
153
+ "resblock_type_decoder": "1",
154
+ "resblock_kernel_sizes_decoder": [
155
+ 3,
156
+ 7,
157
+ 11
158
+ ],
159
+ "resblock_dilation_sizes_decoder": [
160
+ [
161
+ 1,
162
+ 3,
163
+ 5
164
+ ],
165
+ [
166
+ 1,
167
+ 3,
168
+ 5
169
+ ],
170
+ [
171
+ 1,
172
+ 3,
173
+ 5
174
+ ]
175
+ ],
176
+ "upsample_rates_decoder": [
177
+ 8,
178
+ 8,
179
+ 2,
180
+ 2
181
+ ],
182
+ "upsample_initial_channel_decoder": 512,
183
+ "upsample_kernel_sizes_decoder": [
184
+ 16,
185
+ 16,
186
+ 4,
187
+ 4
188
+ ],
189
+ "periods_multi_period_discriminator": [
190
+ 2,
191
+ 3,
192
+ 5,
193
+ 7,
194
+ 11
195
+ ],
196
+ "use_sdp": true,
197
+ "noise_scale": 1.0,
198
+ "inference_noise_scale": 0.667,
199
+ "length_scale": 1.0,
200
+ "noise_scale_dp": 1.0,
201
+ "inference_noise_scale_dp": 1.0,
202
+ "max_inference_len": null,
203
+ "init_discriminator": true,
204
+ "use_spectral_norm_disriminator": false,
205
+ "use_speaker_embedding": false,
206
+ "num_speakers": 0,
207
+ "speakers_file": null,
208
+ "d_vector_file": null,
209
+ "speaker_embedding_channels": 256,
210
+ "use_d_vector_file": false,
211
+ "d_vector_dim": 0,
212
+ "detach_dp_input": true,
213
+ "use_language_embedding": false,
214
+ "embedded_language_dim": 4,
215
+ "num_languages": 0,
216
+ "language_ids_file": null,
217
+ "use_speaker_encoder_as_loss": false,
218
+ "speaker_encoder_config_path": "",
219
+ "speaker_encoder_model_path": "",
220
+ "condition_dp_on_speaker": true,
221
+ "freeze_encoder": false,
222
+ "freeze_DP": false,
223
+ "freeze_PE": false,
224
+ "freeze_flow_decoder": false,
225
+ "freeze_waveform_decoder": false,
226
+ "encoder_sample_rate": null,
227
+ "interpolate_z": true,
228
+ "reinit_DP": false,
229
+ "reinit_text_encoder": false
230
+ },
231
+ "lr_gen": 0.0002,
232
+ "lr_disc": 0.0002,
233
+ "lr_scheduler_gen": "ExponentialLR",
234
+ "lr_scheduler_gen_params": {
235
+ "gamma": 0.999875,
236
+ "last_epoch": -1
237
+ },
238
+ "lr_scheduler_disc": "ExponentialLR",
239
+ "lr_scheduler_disc_params": {
240
+ "gamma": 0.999875,
241
+ "last_epoch": -1
242
+ },
243
+ "kl_loss_alpha": 1.0,
244
+ "disc_loss_alpha": 1.0,
245
+ "gen_loss_alpha": 1.0,
246
+ "feat_loss_alpha": 1.0,
247
+ "mel_loss_alpha": 45.0,
248
+ "dur_loss_alpha": 1.0,
249
+ "speaker_encoder_loss_alpha": 1.0,
250
+ "return_wav": true,
251
+ "use_weighted_sampler": false,
252
+ "weighted_sampler_attrs": {},
253
+ "weighted_sampler_multipliers": {},
254
+ "r": 1,
255
+ "num_speakers": 0,
256
+ "use_speaker_embedding": false,
257
+ "speakers_file": null,
258
+ "speaker_embedding_channels": 256,
259
+ "language_ids_file": null,
260
+ "use_language_embedding": false,
261
+ "use_d_vector_file": false,
262
+ "d_vector_file": null,
263
+ "d_vector_dim": 0,
264
+ "restore_path": "/kaggle/working/train_output/kagg/best_model_1725.pth",
265
+ "github_branch": "inside_docker"
266
+ }