m0javad commited on
Commit
c6fdfe3
1 Parent(s): 21a7c82

Upload 3 files

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. config.json +295 -0
  3. ipykernel_launcher.py +18 -0
  4. trainer_0_log.txt +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ trainer_0_log.txt filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "./Output_vit",
3
+ "logger_uri": null,
4
+ "run_name": "vits_fa_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": 500,
15
+ "save_n_checkpoints": 5,
16
+ "save_checkpoints": true,
17
+ "save_all_best": false,
18
+ "save_best_after": 0,
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": 4,
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": 1,
56
+ "num_eval_loader_workers": 1,
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": 22050,
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": true,
93
+ "phonemizer": "espeak",
94
+ "phoneme_language": "fa",
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": "phoneme_cache",
100
+ "characters": {
101
+ "characters_class": "TTS.tts.utils.text.characters.IPAPhonemes",
102
+ "vocab_dict": null,
103
+ "pad": "<PAD>",
104
+ "eos": "<EOS>",
105
+ "bos": "<BOS>",
106
+ "blank": "<BLNK>",
107
+ "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[]^_{}",
108
+ "punctuations": "!(),-.:;? \u0320\u060c\u061b\u061f\u200c<>",
109
+ "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[]^_{}",
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": "data_clear",
132
+ "meta_file_train": "TTS_Dataset_clear.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
+ "\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 "
143
+ ],
144
+ [
145
+ "\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."
146
+ ],
147
+ [
148
+ "\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"
149
+ ],
150
+ [
151
+ "\u06cc\u06a9 \u0628\u0627\u0631 \u0647\u0645 \u0627\u0632 \u062c\u0647\u0646\u0645 \u0628\u06af\u0648\u06cc\u06cc\u062f."
152
+ ],
153
+ [
154
+ "\u06cc\u06a9\u06cc \u0627\u0633\u0628\u06cc \u0628\u0647 \u0639\u0627\u0631\u06cc\u062a \u062e\u0648\u0627\u0633\u062a"
155
+ ]
156
+ ],
157
+ "eval_split_max_size": null,
158
+ "eval_split_size": 0.01,
159
+ "use_speaker_weighted_sampler": false,
160
+ "speaker_weighted_sampler_alpha": 1.0,
161
+ "use_language_weighted_sampler": false,
162
+ "language_weighted_sampler_alpha": 1.0,
163
+ "use_length_weighted_sampler": false,
164
+ "length_weighted_sampler_alpha": 1.0,
165
+ "model_args": {
166
+ "num_chars": 156,
167
+ "out_channels": 513,
168
+ "spec_segment_size": 32,
169
+ "hidden_channels": 192,
170
+ "hidden_channels_ffn_text_encoder": 768,
171
+ "num_heads_text_encoder": 2,
172
+ "num_layers_text_encoder": 6,
173
+ "kernel_size_text_encoder": 3,
174
+ "dropout_p_text_encoder": 0.1,
175
+ "dropout_p_duration_predictor": 0.5,
176
+ "kernel_size_posterior_encoder": 5,
177
+ "dilation_rate_posterior_encoder": 1,
178
+ "num_layers_posterior_encoder": 16,
179
+ "kernel_size_flow": 5,
180
+ "dilation_rate_flow": 1,
181
+ "num_layers_flow": 4,
182
+ "resblock_type_decoder": "1",
183
+ "resblock_kernel_sizes_decoder": [
184
+ 3,
185
+ 7,
186
+ 11
187
+ ],
188
+ "resblock_dilation_sizes_decoder": [
189
+ [
190
+ 1,
191
+ 3,
192
+ 5
193
+ ],
194
+ [
195
+ 1,
196
+ 3,
197
+ 5
198
+ ],
199
+ [
200
+ 1,
201
+ 3,
202
+ 5
203
+ ]
204
+ ],
205
+ "upsample_rates_decoder": [
206
+ 8,
207
+ 8,
208
+ 2,
209
+ 2
210
+ ],
211
+ "upsample_initial_channel_decoder": 512,
212
+ "upsample_kernel_sizes_decoder": [
213
+ 16,
214
+ 16,
215
+ 4,
216
+ 4
217
+ ],
218
+ "periods_multi_period_discriminator": [
219
+ 2,
220
+ 3,
221
+ 5,
222
+ 7,
223
+ 11
224
+ ],
225
+ "use_sdp": true,
226
+ "noise_scale": 1.0,
227
+ "inference_noise_scale": 0.667,
228
+ "length_scale": 1,
229
+ "noise_scale_dp": 1.0,
230
+ "inference_noise_scale_dp": 1.0,
231
+ "max_inference_len": null,
232
+ "init_discriminator": true,
233
+ "use_spectral_norm_disriminator": false,
234
+ "use_speaker_embedding": false,
235
+ "num_speakers": 0,
236
+ "speakers_file": null,
237
+ "d_vector_file": null,
238
+ "speaker_embedding_channels": 256,
239
+ "use_d_vector_file": false,
240
+ "d_vector_dim": 0,
241
+ "detach_dp_input": true,
242
+ "use_language_embedding": false,
243
+ "embedded_language_dim": 4,
244
+ "num_languages": 0,
245
+ "language_ids_file": null,
246
+ "use_speaker_encoder_as_loss": false,
247
+ "speaker_encoder_config_path": "",
248
+ "speaker_encoder_model_path": "",
249
+ "condition_dp_on_speaker": true,
250
+ "freeze_encoder": false,
251
+ "freeze_DP": false,
252
+ "freeze_PE": false,
253
+ "freeze_flow_decoder": false,
254
+ "freeze_waveform_decoder": false,
255
+ "encoder_sample_rate": null,
256
+ "interpolate_z": true,
257
+ "reinit_DP": false,
258
+ "reinit_text_encoder": false
259
+ },
260
+ "lr_gen": 0.0002,
261
+ "lr_disc": 0.0002,
262
+ "lr_scheduler_gen": "ExponentialLR",
263
+ "lr_scheduler_gen_params": {
264
+ "gamma": 0.999875,
265
+ "last_epoch": -1
266
+ },
267
+ "lr_scheduler_disc": "ExponentialLR",
268
+ "lr_scheduler_disc_params": {
269
+ "gamma": 0.999875,
270
+ "last_epoch": -1
271
+ },
272
+ "kl_loss_alpha": 1.0,
273
+ "disc_loss_alpha": 1.0,
274
+ "gen_loss_alpha": 1.0,
275
+ "feat_loss_alpha": 1.0,
276
+ "mel_loss_alpha": 45.0,
277
+ "dur_loss_alpha": 1.0,
278
+ "speaker_encoder_loss_alpha": 1.0,
279
+ "return_wav": true,
280
+ "use_weighted_sampler": false,
281
+ "weighted_sampler_attrs": null,
282
+ "weighted_sampler_multipliers": null,
283
+ "r": 1,
284
+ "num_speakers": 0,
285
+ "use_speaker_embedding": false,
286
+ "speakers_file": null,
287
+ "speaker_embedding_channels": 256,
288
+ "language_ids_file": null,
289
+ "use_language_embedding": false,
290
+ "use_d_vector_file": false,
291
+ "d_vector_file": null,
292
+ "d_vector_dim": 0,
293
+ "restore_path": "checkpoint_88000.pth",
294
+ "github_branch": "* main"
295
+ }
ipykernel_launcher.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Entry point for launching an IPython kernel.
2
+
3
+ This is separate from the ipykernel package so we can avoid doing imports until
4
+ after removing the cwd from sys.path.
5
+ """
6
+
7
+ import sys
8
+ from pathlib import Path
9
+
10
+ if __name__ == "__main__":
11
+ # Remove the CWD from sys.path while we load stuff.
12
+ # This is added back by InteractiveShellApp.init_path()
13
+ if sys.path[0] == "" or Path(sys.path[0]) == Path.cwd():
14
+ del sys.path[0]
15
+
16
+ from ipykernel import kernelapp as app
17
+
18
+ app.launch_new_instance()
trainer_0_log.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b06c46b214a5114c9c2e3bee33899040957a01a874066bd9044cc82d8a90c5e
3
+ size 43923026