jvision commited on
Commit
a5cdc1b
·
1 Parent(s): 4bf97eb
Files changed (1) hide show
  1. config.json +245 -0
config.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "logger_uri": null,
3
+ "project_name": "VCTK_American_English_Females",
4
+ "run_description": "",
5
+ "print_step": 50,
6
+ "plot_step": 100,
7
+ "model_param_stats": false,
8
+ "wandb_entity": null,
9
+ "dashboard_logger": "tensorboard",
10
+ "save_on_interrupt": true,
11
+ "log_model_step": 1000,
12
+ "save_step": 5000,
13
+ "save_n_checkpoints": 2,
14
+ "save_checkpoints": true,
15
+ "save_all_best": false,
16
+ "save_best_after": 10000,
17
+ "target_loss": "loss_1",
18
+ "print_eval": false,
19
+ "test_delay_epochs": 0,
20
+ "run_eval": true,
21
+ "run_eval_steps": null,
22
+ "distributed_backend": "nccl",
23
+ "distributed_url": "tcp://localhost:54321",
24
+ "mixed_precision": true,
25
+ "epochs": 1000,
26
+ "batch_size": 16,
27
+ "eval_batch_size": 16,
28
+ "grad_clip": [
29
+ 1000.0,
30
+ 1000.0
31
+ ],
32
+ "scheduler_after_epoch": true,
33
+ "lr": 0.001,
34
+ "optimizer": "AdamW",
35
+ "optimizer_params": {
36
+ "betas": [
37
+ 0.8,
38
+ 0.99
39
+ ],
40
+ "eps": 1e-09,
41
+ "weight_decay": 0.01
42
+ },
43
+ "lr_scheduler": null,
44
+ "lr_scheduler_params": {},
45
+ "use_grad_scaler": false,
46
+ "cudnn_enable": true,
47
+ "cudnn_deterministic": false,
48
+ "cudnn_benchmark": false,
49
+ "training_seed": 54321,
50
+ "model": "vits",
51
+ "num_loader_workers": 8,
52
+ "num_eval_loader_workers": 0,
53
+ "use_noise_augment": false,
54
+ "audio": {
55
+ "fft_size": 1024,
56
+ "sample_rate": 16000,
57
+ "win_length": 1024,
58
+ "hop_length": 256,
59
+ "num_mels": 80,
60
+ "mel_fmin": 0,
61
+ "mel_fmax": null
62
+ },
63
+ "use_phonemes": false,
64
+ "phonemizer": "espeak",
65
+ "phoneme_language": "en-us",
66
+ "compute_input_seq_cache": true,
67
+ "text_cleaner": "multilingual_cleaners",
68
+ "enable_eos_bos_chars": false,
69
+ "test_sentences_file": "",
70
+ "characters": {
71
+ "characters_class": "TTS.tts.models.vits.VitsCharacters",
72
+ "vocab_dict": null,
73
+ "pad": "_",
74
+ "eos": "&",
75
+ "bos": "*",
76
+ "blank": null,
77
+ "characters": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\u00af\u00b7\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f9\u00fa\u00fb\u00fc\u00ff\u0101\u0105\u0107\u0113\u0119\u011b\u012b\u0131\u0142\u0144\u014d\u0151\u0153\u015b\u016b\u0171\u017a\u017c\u01ce\u01d0\u01d2\u01d4\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\u0451\u0454\u0456\u0457\u0491\u2013!'(),-.:;? ",
78
+ "punctuations": "!'(),-.:;? ",
79
+ "phonemes": "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\u025a\u02de\u026b'\u0303' ",
80
+ "is_unique": true,
81
+ "is_sorted": true
82
+ },
83
+ "add_blank": true,
84
+ "batch_group_size": 48,
85
+ "loss_masking": null,
86
+ "min_audio_len": 1,
87
+ "max_audio_len": 160000,
88
+ "min_text_len": 1,
89
+ "max_text_len": Infinity,
90
+ "compute_f0": false,
91
+ "compute_energy": false,
92
+ "compute_linear_spec": true,
93
+ "precompute_num_workers": 12,
94
+ "start_by_longest": true,
95
+ "shuffle": false,
96
+ "drop_last": false,
97
+ "datasets": [
98
+ {
99
+ "formatter": "vctk",
100
+ "language": "en"
101
+ }
102
+ ],
103
+ "eval_split_max_size": 256,
104
+ "eval_split_size": 0.01,
105
+ "use_speaker_weighted_sampler": false,
106
+ "speaker_weighted_sampler_alpha": 1.0,
107
+ "use_language_weighted_sampler": false,
108
+ "language_weighted_sampler_alpha": 1.0,
109
+ "use_length_weighted_sampler": false,
110
+ "length_weighted_sampler_alpha": 1.0,
111
+ "model_args": {
112
+ "num_chars": 284,
113
+ "out_channels": 513,
114
+ "spec_segment_size": 32,
115
+ "hidden_channels": 192,
116
+ "hidden_channels_ffn_text_encoder": 768,
117
+ "num_heads_text_encoder": 2,
118
+ "num_layers_text_encoder": 10,
119
+ "kernel_size_text_encoder": 3,
120
+ "dropout_p_text_encoder": 0.1,
121
+ "dropout_p_duration_predictor": 0.5,
122
+ "kernel_size_posterior_encoder": 5,
123
+ "dilation_rate_posterior_encoder": 1,
124
+ "num_layers_posterior_encoder": 16,
125
+ "kernel_size_flow": 5,
126
+ "dilation_rate_flow": 1,
127
+ "num_layers_flow": 4,
128
+ "resblock_type_decoder": "2",
129
+ "resblock_kernel_sizes_decoder": [
130
+ 3,
131
+ 7,
132
+ 11
133
+ ],
134
+ "resblock_dilation_sizes_decoder": [
135
+ [
136
+ 1,
137
+ 3,
138
+ 5
139
+ ],
140
+ [
141
+ 1,
142
+ 3,
143
+ 5
144
+ ],
145
+ [
146
+ 1,
147
+ 3,
148
+ 5
149
+ ]
150
+ ],
151
+ "upsample_rates_decoder": [
152
+ 8,
153
+ 8,
154
+ 2,
155
+ 2
156
+ ],
157
+ "upsample_initial_channel_decoder": 512,
158
+ "upsample_kernel_sizes_decoder": [
159
+ 16,
160
+ 16,
161
+ 4,
162
+ 4
163
+ ],
164
+ "periods_multi_period_discriminator": [
165
+ 2,
166
+ 3,
167
+ 5,
168
+ 7,
169
+ 11
170
+ ],
171
+ "use_sdp": true,
172
+ "noise_scale": 1.0,
173
+ "inference_noise_scale": 0.667,
174
+ "length_scale": 1.0,
175
+ "noise_scale_dp": 1.0,
176
+ "inference_noise_scale_dp": 1.0,
177
+ "max_inference_len": null,
178
+ "init_discriminator": true,
179
+ "use_spectral_norm_disriminator": false,
180
+ "use_speaker_embedding": false,
181
+ "num_speakers": 23,
182
+ "speakers_file": "supplemental/speakers.pth",
183
+ "d_vector_file": [
184
+ "supplemental/speakers-base.json",
185
+ "supplemental/speakers-dataset.pth"
186
+ ],
187
+ "speaker_embedding_channels": 256,
188
+ "use_d_vector_file": true,
189
+ "d_vector_dim": 512,
190
+ "detach_dp_input": true,
191
+ "use_language_embedding": true,
192
+ "embedded_language_dim": 4,
193
+ "num_languages": 3,
194
+ "language_ids_file": "supplemental/language_ids.json",
195
+ "use_speaker_encoder_as_loss": true,
196
+ "speaker_encoder_config_path": "supplemental/config_se.json",
197
+ "speaker_encoder_model_path": "supplemental/model_se.pth.tar",
198
+ "condition_dp_on_speaker": true,
199
+ "freeze_encoder": false,
200
+ "freeze_DP": false,
201
+ "freeze_PE": false,
202
+ "freeze_flow_decoder": false,
203
+ "freeze_waveform_decoder": false,
204
+ "encoder_sample_rate": null,
205
+ "interpolate_z": true,
206
+ "reinit_DP": false,
207
+ "reinit_text_encoder": false
208
+ },
209
+ "lr_gen": 0.0002,
210
+ "lr_disc": 0.0002,
211
+ "lr_scheduler_gen": "ExponentialLR",
212
+ "lr_scheduler_gen_params": {
213
+ "gamma": 0.999875,
214
+ "last_epoch": -1
215
+ },
216
+ "lr_scheduler_disc": "ExponentialLR",
217
+ "lr_scheduler_disc_params": {
218
+ "gamma": 0.999875,
219
+ "last_epoch": -1
220
+ },
221
+ "kl_loss_alpha": 1.0,
222
+ "disc_loss_alpha": 1.0,
223
+ "gen_loss_alpha": 1.0,
224
+ "feat_loss_alpha": 1.0,
225
+ "mel_loss_alpha": 45.0,
226
+ "dur_loss_alpha": 1.0,
227
+ "speaker_encoder_loss_alpha": 9.0,
228
+ "return_wav": true,
229
+ "use_weighted_sampler": false,
230
+ "weighted_sampler_attrs": {},
231
+ "weighted_sampler_multipliers": {},
232
+ "r": 1,
233
+ "num_speakers": 23,
234
+ "use_speaker_embedding": false,
235
+ "speakers_file": "supplemental/speakers.pth",
236
+ "speaker_embedding_channels": 256,
237
+ "language_ids_file": "supplemental/language_ids.json",
238
+ "use_language_embedding": true,
239
+ "use_d_vector_file": true,
240
+ "d_vector_file": [
241
+ "supplemental/speakers-base.json",
242
+ "supplemental/speakers-dataset.pth"
243
+ ],
244
+ "d_vector_dim": 512
245
+ }