-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_config.json
215 lines (215 loc) · 7.11 KB
/
custom_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"output_path": "output_indic_fastpitch/or",
"logger_uri": null,
"run_name": "or_fastpitch_indictts_all_align_off",
"project_name": "indic-fastpitch-stage2",
"run_description": "align_off",
"print_step": 100,
"plot_step": 100,
"model_param_stats": false,
"wandb_entity": "indic-asr",
"dashboard_logger": "wandb",
"log_model_step": 10000,
"save_step": 10000,
"save_n_checkpoints": 1,
"save_checkpoints": true,
"save_all_best": false,
"save_best_after": 10000,
"target_loss": null,
"print_eval": false,
"test_delay_epochs": 0,
"run_eval": true,
"distributed_backend": "nccl",
"distributed_url": "tcp://localhost:54321",
"mixed_precision": true,
"epochs": 1000,
"batch_size": 32,
"eval_batch_size": 32,
"grad_clip": 5.0,
"scheduler_after_epoch": true,
"lr": 0.0001,
"optimizer": "Adam",
"optimizer_params": {
"betas": [
0.9,
0.998
],
"weight_decay": 1e-06
},
"lr_scheduler": "NoamLR",
"lr_scheduler_params": {
"warmup_steps": 4000
},
"lr_scheduler_aligner": "NoamLR",
"lr_scheduler_aligner_params": {
"warmup_steps": 4000
},
"use_grad_scaler": false,
"cudnn_enable": true,
"cudnn_deterministic": false,
"cudnn_benchmark": false,
"training_seed": 54321,
"model": "fast_pitch",
"num_loader_workers": 0,
"num_eval_loader_workers": 0,
"use_noise_augment": false,
"audio": {
"fft_size": 1024,
"win_length": 1024,
"hop_length": 256,
"frame_shift_ms": null,
"frame_length_ms": null,
"stft_pad_mode": "reflect",
"sample_rate": 22050,
"resample": false,
"preemphasis": 0.0,
"ref_level_db": 20,
"do_sound_norm": false,
"log_func": "np.log",
"do_trim_silence": true,
"trim_db": 60.0,
"do_rms_norm": false,
"db_level": null,
"power": 1.5,
"griffin_lim_iters": 60,
"num_mels": 80,
"mel_fmin": 0.0,
"mel_fmax": 8000,
"spec_gain": 1.0,
"do_amp_to_db_linear": true,
"do_amp_to_db_mel": true,
"pitch_fmax": 640.0,
"pitch_fmin": 0.0,
"signal_norm": false,
"min_level_db": -100,
"symmetric_norm": true,
"max_norm": 4.0,
"clip_norm": true,
"stats_path": null
},
"use_phonemes": false,
"phonemizer": null,
"phoneme_language": "en-us",
"compute_input_seq_cache": false,
"text_cleaner": "multilingual_cleaners",
"enable_eos_bos_chars": false,
"test_sentences_file": "",
"phoneme_cache_path": "output_indic_fastpitch/or/phoneme_cache",
"characters": {
"characters_class": "TTS.tts.models.vits.VitsCharacters",
"vocab_dict": null,
"pad": "<PAD>",
"eos": "<EOS>",
"bos": "<BOS>",
"blank": "<BLNK>",
"characters": " ',-.;\u0964\u0b01\u0b02\u0b03\u0b05\u0b06\u0b07\u0b08\u0b09\u0b0a\u0b0b\u0b0f\u0b10\u0b13\u0b14\u0b15\u0b16\u0b17\u0b18\u0b19\u0b1a\u0b1b\u0b1c\u0b1d\u0b1e\u0b1f\u0b20\u0b21\u0b22\u0b23\u0b24\u0b25\u0b26\u0b27\u0b28\u0b2a\u0b2b\u0b2c\u0b2d\u0b2e\u0b2f\u0b30\u0b32\u0b33\u0b35\u0b36\u0b37\u0b38\u0b39\u0b3e\u0b3f\u0b40\u0b41\u0b42\u0b43\u0b47\u0b48\u0b4b\u0b4c\u0b4d\u0b5c\u0b5d\u0b5f\u0b71\u200c\u2018\u2019\u201d",
"punctuations": "!\u00a1'(),-.:;\u00bf? ",
"phonemes": null,
"is_unique": true,
"is_sorted": true
},
"add_blank": false,
"batch_group_size": 0,
"loss_masking": null,
"sort_by_audio_len": true,
"min_audio_len": 1,
"max_audio_len": 441000,
"min_text_len": 1,
"max_text_len": 400,
"compute_f0": true,
"compute_linear_spec": false,
"precompute_num_workers": 0,
"start_by_longest": false,
"datasets": [
{
"name": "indictts",
"path": "/home/ttsteam/datasets/indictts/or",
"meta_file_train": "metadata_train.csv",
"ignored_speakers": null,
"language": "or",
"meta_file_val": "metadata_test.csv",
"meta_file_attn_mask": ""
}
],
"test_sentences": [
"\u0b38\u0b3e\u0b2e\u0b3e\u0b28\u0b4d\u0b5f \u0b17\u0b4b\u0b1f\u0b3f\u0b0f \u0b2c\u0b3e\u0b33\u0b15, \u0b38\u0b47 \u0b15\u2019\u0b23 \u0b2e\u0b39\u0b3e\u0b2d\u0b3e\u0b30\u0b24 \u0b2f\u0b41\u0b26\u0b4d\u0b27\u0b30\u0b47 \u0b32\u0b5d\u0b3f\u0b2c ",
"\u0b0f \u0b18\u0b1f\u0b23\u0b3e \u0b26\u0b47\u0b16\u0b3f\u0b2c\u0b3e\u0b15\u0b41 \u0b36\u0b39 \u0b36\u0b39 \u0b32\u0b4b\u0b15 \u0b27\u0b3e\u0b07\u0b01\u0b32\u0b47 "
],
"eval_split_max_size": null,
"eval_split_size": 0.01,
"use_speaker_weighted_sampler": false,
"speaker_weighted_sampler_alpha": 1.0,
"use_language_weighted_sampler": false,
"language_weighted_sampler_alpha": 1.0,
"use_length_weighted_sampler": false,
"length_weighted_sampler_alpha": 1.0,
"base_model": "forward_tts",
"model_args": {
"num_chars": 89,
"out_channels": 80,
"hidden_channels": 512,
"use_aligner": true,
"use_pitch": true,
"pitch_predictor_hidden_channels": 256,
"pitch_predictor_kernel_size": 3,
"pitch_predictor_dropout_p": 0.1,
"pitch_embedding_kernel_size": 3,
"duration_predictor_hidden_channels": 256,
"duration_predictor_kernel_size": 3,
"duration_predictor_dropout_p": 0.1,
"positional_encoding": true,
"poisitonal_encoding_use_scale": true,
"length_scale": 1,
"encoder_type": "fftransformer",
"encoder_params": {
"hidden_channels_ffn": 1024,
"num_heads": 1,
"num_layers": 6,
"dropout_p": 0.1
},
"decoder_type": "fftransformer",
"decoder_params": {
"hidden_channels_ffn": 1024,
"num_heads": 1,
"num_layers": 6,
"dropout_p": 0.1
},
"detach_duration_predictor": false,
"max_duration": 75,
"num_speakers": 2,
"use_speaker_embedding": true,
"speakers_file": "./or/fastpitch/speakers.pth",
"use_d_vector_file": false,
"d_vector_dim": 512,
"d_vector_file": null,
"use_speaker_encoder_as_loss": false,
"speaker_encoder_config_path": "",
"speaker_encoder_model_path": "",
"vocoder_path": null,
"vocoder_config_path": null,
"use_separate_optimizers": false
},
"return_wav": false,
"num_speakers": 2,
"speakers_file": "./or/fastpitch/speakers.pth",
"use_speaker_embedding": true,
"use_d_vector_file": false,
"d_vector_file": "",
"d_vector_dim": 512,
"spec_loss_type": "mse",
"duration_loss_type": "mse",
"use_ssim_loss": false,
"ssim_loss_alpha": 1.0,
"spec_loss_alpha": 1.0,
"aligner_loss_alpha": 1.0,
"pitch_loss_alpha": 0.1,
"dur_loss_alpha": 0.1,
"binary_align_loss_alpha": 0.1,
"spk_encoder_loss_alpha": 0.1,
"binary_loss_warmup_epochs": 150,
"aligner_epochs": 0,
"min_seq_len": 13,
"max_seq_len": 500000,
"r": 1,
"f0_cache_path": "output_indic_fastpitch/or/f0_cache"
}