|
{ |
|
"output_path": "/raid/datasets/MUPE/Experiments/runs", |
|
"logger_uri": "s3://coqui-ai-models/TTS/Checkpoints/YourTTS/MUPE/", |
|
"run_name": "YourTTS-Syntacc-PT", |
|
"project_name": "SYNTACC", |
|
"run_description": "\n - YourTTS with SYNTACC text encoder\n ", |
|
"print_step": 50, |
|
"plot_step": 100, |
|
"model_param_stats": false, |
|
"wandb_entity": null, |
|
"dashboard_logger": "clearml", |
|
"save_on_interrupt": true, |
|
"log_model_step": 1000, |
|
"save_step": 5000, |
|
"save_n_checkpoints": 2, |
|
"save_checkpoints": true, |
|
"save_all_best": false, |
|
"save_best_after": 10000, |
|
"target_loss": null, |
|
"print_eval": false, |
|
"test_delay_epochs": 0, |
|
"run_eval": true, |
|
"run_eval_steps": null, |
|
"distributed_backend": "nccl", |
|
"distributed_url": "tcp://localhost:54321", |
|
"mixed_precision": false, |
|
"precision": "fp16", |
|
"epochs": 1000, |
|
"batch_size": 26, |
|
"eval_batch_size": 26, |
|
"grad_clip": [ |
|
1000, |
|
1000 |
|
], |
|
"scheduler_after_epoch": true, |
|
"lr": 0.001, |
|
"optimizer": "AdamW", |
|
"optimizer_params": { |
|
"betas": [ |
|
0.8, |
|
0.99 |
|
], |
|
"eps": 1e-09, |
|
"weight_decay": 0.01 |
|
}, |
|
"lr_scheduler": null, |
|
"lr_scheduler_params": {}, |
|
"use_grad_scaler": false, |
|
"allow_tf32": false, |
|
"cudnn_enable": true, |
|
"cudnn_deterministic": false, |
|
"cudnn_benchmark": false, |
|
"training_seed": 54321, |
|
"model": "vits", |
|
"num_loader_workers": 8, |
|
"num_eval_loader_workers": 0, |
|
"use_noise_augment": false, |
|
"audio": { |
|
"fft_size": 1024, |
|
"sample_rate": 16000, |
|
"win_length": 1024, |
|
"hop_length": 256, |
|
"num_mels": 80, |
|
"mel_fmin": 0.0, |
|
"mel_fmax": null |
|
}, |
|
"use_phonemes": false, |
|
"phonemizer": "espeak", |
|
"phoneme_language": "en", |
|
"compute_input_seq_cache": true, |
|
"text_cleaner": "multilingual_cleaners", |
|
"enable_eos_bos_chars": false, |
|
"test_sentences_file": "", |
|
"phoneme_cache_path": null, |
|
"characters": { |
|
"characters_class": "TTS.tts.models.vits.VitsCharacters", |
|
"vocab_dict": null, |
|
"pad": "_", |
|
"eos": "&", |
|
"bos": "*", |
|
"blank": null, |
|
"characters": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\u00a1\u00a3\u00b7\u00b8\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d9\u00da\u00db\u00dc\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f9\u00fa\u00fb\u00fc\u0101\u0104\u0105\u0106\u0107\u010b\u0119\u0141\u0142\u0143\u0144\u0152\u0153\u015a\u015b\u0161\u0178\u0179\u017a\u017b\u017c\u020e\u04e7\u05c2\u1b20", |
|
"punctuations": "\u2014!'(),-.:;?\u00bf ", |
|
"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' ", |
|
"is_unique": true, |
|
"is_sorted": true |
|
}, |
|
"add_blank": true, |
|
"batch_group_size": 48, |
|
"loss_masking": null, |
|
"min_audio_len": 1, |
|
"max_audio_len": Infinity, |
|
"min_text_len": 1, |
|
"max_text_len": Infinity, |
|
"compute_f0": false, |
|
"compute_energy": false, |
|
"compute_linear_spec": true, |
|
"precompute_num_workers": 12, |
|
"start_by_longest": true, |
|
"shuffle": false, |
|
"drop_last": false, |
|
"datasets": [ |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brpb.csv", |
|
"ignored_speakers": null, |
|
"language": "brpb", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brba.csv", |
|
"ignored_speakers": null, |
|
"language": "brba", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brportugal.csv", |
|
"ignored_speakers": null, |
|
"language": "brportugal", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brsp.csv", |
|
"ignored_speakers": null, |
|
"language": "brsp", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brpe.csv", |
|
"ignored_speakers": null, |
|
"language": "brpe", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brmg.csv", |
|
"ignored_speakers": null, |
|
"language": "brmg", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brrj.csv", |
|
"ignored_speakers": null, |
|
"language": "brrj", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brce.csv", |
|
"ignored_speakers": null, |
|
"language": "brce", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brrs.csv", |
|
"ignored_speakers": null, |
|
"language": "brrs", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_bralemanha.csv", |
|
"ignored_speakers": null, |
|
"language": "bralemanha", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brgo.csv", |
|
"ignored_speakers": null, |
|
"language": "brgo", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_bral.csv", |
|
"ignored_speakers": null, |
|
"language": "bral", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
}, |
|
{ |
|
"formatter": "coqui", |
|
"dataset_name": "mupe", |
|
"path": "/raid/datasets/MUPE/dataset/mupe/", |
|
"meta_file_train": "metadata_coqui_brpr.csv", |
|
"ignored_speakers": null, |
|
"language": "brpr", |
|
"phonemizer": "", |
|
"meta_file_val": "", |
|
"meta_file_attn_mask": "" |
|
} |
|
], |
|
"test_sentences": [ |
|
[ |
|
"Voc\u00ea ter\u00e1 a vista do topo da montanha que voc\u00ea escalar.", |
|
"EDILEINE_FONSECA", |
|
null, |
|
"brsp" |
|
], |
|
[ |
|
"Quem semeia ventos, colhe tempestades.", |
|
"JOSE_PAULO_DE_ARAUJO", |
|
null, |
|
"brpb" |
|
], |
|
[ |
|
"O olho do dono \u00e9 que engorda o gado.", |
|
"VITOR_RAFAEL_OLIVEIRA_ALVES", |
|
null, |
|
"brba" |
|
], |
|
[ |
|
"\u00c1gua mole em pedra dura, tanto bate at\u00e9 que fura.", |
|
"MARIA_AURORA_FELIX", |
|
null, |
|
"brportugal" |
|
], |
|
[ |
|
"Quem espera sempre alcan\u00e7a.", |
|
"ANTONIO_DE_AMORIM_COSTA", |
|
null, |
|
"brpe" |
|
], |
|
[ |
|
"Cada macaco no seu galho.", |
|
"ALCIDES_DE_LIMA", |
|
null, |
|
"brmg" |
|
], |
|
[ |
|
"Em terra de cego, quem tem um olho \u00e9 rei.", |
|
"ALUISIO_SOARES_DE_SOUSA", |
|
null, |
|
"brrj" |
|
], |
|
[ |
|
"A ocasi\u00e3o faz o ladr\u00e3o.", |
|
"FRANCISCO_JOSE_MOREIRA_MOTA", |
|
null, |
|
"brce" |
|
], |
|
[ |
|
"De gr\u00e3o em gr\u00e3o, a galinha enche o papo.", |
|
"EVALDO_ANDRADA_CORREA", |
|
null, |
|
"brrs" |
|
], |
|
[ |
|
"Mais vale um p\u00c1ssaro na m\u00e3o do que dois voando.", |
|
"DORIS_ALEXANDER", |
|
null, |
|
"bralemanha" |
|
], |
|
[ |
|
"Quem n\u00e3o arrisca, n\u00e3o petisca.", |
|
"DONALDO_LUIZ_DE_ALMEIDA", |
|
null, |
|
"brgo" |
|
], |
|
[ |
|
"A uni\u00e3o faz a for\u00e7a.", |
|
"GERONCIO_HENRIQUE_NETO", |
|
null, |
|
"bral" |
|
], |
|
[ |
|
"Em boca fechada n\u00e3o entra mosquito.", |
|
"MALU_NATEL_FREIRE_WEBER", |
|
null, |
|
"brpr" |
|
] |
|
], |
|
"eval_split_max_size": 256, |
|
"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, |
|
"model_args": { |
|
"num_chars": 266, |
|
"out_channels": 513, |
|
"spec_segment_size": 62, |
|
"hidden_channels": 192, |
|
"use_adaptive_weight_text_encoder": true, |
|
"use_perfect_class_batch_sampler": true, |
|
"perfect_class_batch_sampler_key": "language", |
|
"hidden_channels_ffn_text_encoder": 768, |
|
"num_heads_text_encoder": 2, |
|
"num_layers_text_encoder": 10, |
|
"kernel_size_text_encoder": 3, |
|
"dropout_p_text_encoder": 0.1, |
|
"dropout_p_duration_predictor": 0.5, |
|
"kernel_size_posterior_encoder": 5, |
|
"dilation_rate_posterior_encoder": 1, |
|
"num_layers_posterior_encoder": 16, |
|
"kernel_size_flow": 5, |
|
"dilation_rate_flow": 1, |
|
"num_layers_flow": 4, |
|
"resblock_type_decoder": "2", |
|
"resblock_kernel_sizes_decoder": [ |
|
3, |
|
7, |
|
11 |
|
], |
|
"resblock_dilation_sizes_decoder": [ |
|
[ |
|
1, |
|
3, |
|
5 |
|
], |
|
[ |
|
1, |
|
3, |
|
5 |
|
], |
|
[ |
|
1, |
|
3, |
|
5 |
|
] |
|
], |
|
"upsample_rates_decoder": [ |
|
8, |
|
8, |
|
2, |
|
2 |
|
], |
|
"upsample_initial_channel_decoder": 512, |
|
"upsample_kernel_sizes_decoder": [ |
|
16, |
|
16, |
|
4, |
|
4 |
|
], |
|
"periods_multi_period_discriminator": [ |
|
2, |
|
3, |
|
5, |
|
7, |
|
11 |
|
], |
|
"use_sdp": true, |
|
"noise_scale": 1.0, |
|
"inference_noise_scale": 0.667, |
|
"length_scale": 1, |
|
"noise_scale_dp": 1.0, |
|
"inference_noise_scale_dp": 1.0, |
|
"max_inference_len": null, |
|
"init_discriminator": true, |
|
"use_spectral_norm_disriminator": false, |
|
"use_speaker_embedding": false, |
|
"num_speakers": 0, |
|
"speakers_file": "/raid/datasets/MUPE/Experiments/runs/YourTTS-Syntacc-PT-January-25-2024_02+59PM-0000000/speakers.pth", |
|
"d_vector_file": [ |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brpb.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brba.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brportugal.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brsp.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brpe.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brmg.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brrj.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brce.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brrs.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_bralemanha.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brgo.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_bral.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brpr.pth" |
|
], |
|
"speaker_embedding_channels": 256, |
|
"use_d_vector_file": true, |
|
"d_vector_dim": 512, |
|
"detach_dp_input": true, |
|
"use_language_embedding": false, |
|
"embedded_language_dim": 4, |
|
"num_languages": 0, |
|
"language_ids_file": "/raid/datasets/MUPE/Experiments/runs/YourTTS-Syntacc-PT-January-25-2024_02+59PM-0000000/language_ids.json", |
|
"use_speaker_encoder_as_loss": false, |
|
"speaker_encoder_config_path": "https://github.com/coqui-ai/TTS/releases/download/speaker_encoder_model/config_se.json", |
|
"speaker_encoder_model_path": "https://github.com/coqui-ai/TTS/releases/download/speaker_encoder_model/model_se.pth.tar", |
|
"condition_dp_on_speaker": true, |
|
"freeze_encoder": false, |
|
"freeze_DP": false, |
|
"freeze_PE": false, |
|
"freeze_flow_decoder": false, |
|
"freeze_waveform_decoder": false, |
|
"encoder_sample_rate": null, |
|
"interpolate_z": true, |
|
"reinit_DP": false, |
|
"reinit_text_encoder": false |
|
}, |
|
"lr_gen": 0.0002, |
|
"lr_disc": 0.0002, |
|
"lr_scheduler_gen": "ExponentialLR", |
|
"lr_scheduler_gen_params": { |
|
"gamma": 0.999875, |
|
"last_epoch": -1 |
|
}, |
|
"lr_scheduler_disc": "ExponentialLR", |
|
"lr_scheduler_disc_params": { |
|
"gamma": 0.999875, |
|
"last_epoch": -1 |
|
}, |
|
"kl_loss_alpha": 1.0, |
|
"disc_loss_alpha": 1.0, |
|
"gen_loss_alpha": 1.0, |
|
"feat_loss_alpha": 1.0, |
|
"mel_loss_alpha": 45.0, |
|
"dur_loss_alpha": 1.0, |
|
"speaker_encoder_loss_alpha": 9.0, |
|
"return_wav": true, |
|
"use_weighted_sampler": true, |
|
"weighted_sampler_attrs": { |
|
"language": 1.0 |
|
}, |
|
"weighted_sampler_multipliers": {}, |
|
"r": 1, |
|
"num_speakers": 0, |
|
"use_speaker_embedding": false, |
|
"speakers_file": "/raid/datasets/MUPE/Experiments/runs/YourTTS-Syntacc-PT-January-25-2024_02+59PM-0000000/speakers.pth", |
|
"speaker_embedding_channels": 256, |
|
"language_ids_file": "/raid/datasets/MUPE/Experiments/runs/YourTTS-Syntacc-PT-January-25-2024_02+59PM-0000000/language_ids.json", |
|
"use_language_embedding": false, |
|
"use_d_vector_file": true, |
|
"d_vector_file": [ |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brpb.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brba.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brportugal.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brsp.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brpe.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brmg.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brrj.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brce.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brrs.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_bralemanha.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brgo.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_bral.pth", |
|
"/raid/datasets/MUPE/dataset/mupe/H_ASP_speaker_embeddings_brpr.pth" |
|
], |
|
"d_vector_dim": 512 |
|
} |