FastSpeech2 icon indicating copy to clipboard operation
FastSpeech2 copied to clipboard

How do I align my data

Open hkeliang opened this issue 1 year ago • 2 comments

What about your own data

hkeliang avatar Aug 24 '23 11:08 hkeliang

https://montreal-forced-aligner.readthedocs.io/en/latest/

melodyze-ai avatar Sep 28 '23 11:09 melodyze-ai

Use mfa or phonemizer to generate pronounciation dictionary .Then validate your corpus and check for OOV words using ( mfa validate ~/mfa_data/my_corpus ~/mfa_data/my_dictionary.txt ) this command. If the pretrained acoustic model for your language is not available then use ( mfa train ~/mfa_data/my_corpus ~/mfa_data/my_dictionary.txt ~/mfa_data/new_acoustic_model.zip ) use this command to train acoustic model. Then use (mfa align ~/mfa_data/my_corpus english_us_arpa english_us_arpa ~/mfa_data/my_corpus_aligned) mfa align command to generate textgrids. And then you are ready to use Fastspeech2 . For more info you can refer https://montreal-forced-aligner.readthedocs.io/en/latest/first_steps/index.html this documentation

Lakhjeet1082 avatar Jun 29 '24 03:06 Lakhjeet1082