Closed shivammehta25 closed 1 year ago
Yeah, we don't test it and haven't touched it for a while. Since we mostly train the aligner with the model we don't need it much.
Right! I guess then it makes sense, I thought that the alignments are generated with this and then trained but I was wrong, should I then close this or make a pull request to fix this?
It was mostly for debugging purposes. If it is useful for you, feel free to send a PR or leave it be for the next victim :)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.
Describe the bug
Hello!
To train fast speech, and fast pitch models we need to get external aligners which we can get by generating attention masks from an already trained model. But the script gets various import errors mentioned below at lines.
https://github.com/coqui-ai/TTS/blob/14d45b53470d862d4df1966d3984ef883077aa5c/TTS/bin/compute_attention_masks.py#L12
https://github.com/coqui-ai/TTS/blob/14d45b53470d862d4df1966d3984ef883077aa5c/TTS/bin/compute_attention_masks.py#L14
And wherever these imports are called in the file. And these are not being caught by CI because they commented in the training scripts of fast speech and fast pitch instead of having their own dedicated tests.
To Reproduce
Expected behavior
It should compute the alignments
Logs
No response
Environment
Additional context
It uses some old outdated functions, maybe we can also add some tests for this file in itself?