Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #74

Merged
merged 6 commits into from
May 27, 2024
Merged

Dev #74

merged 6 commits into from
May 27, 2024

Conversation

shivammehta25
Copy link
Owner

What does this PR do?

Possibility to extract alignments out of Matcha-TTS

If the dataset is structured as

data/
└── LJSpeech-1.1
    ├── metadata.csv
    ├── README
    ├── test.txt
    ├── train.txt
    ├── val.txt
    └── wavs

Then you can extract the phoneme level alignments from a Trained Matcha-TTS model using:

python  matcha/utils/get_durations_from_trained_model.py -i dataset_yaml -c <checkpoint>

Example:

python  matcha/utils/get_durations_from_trained_model.py -i ljspeech.yaml -c matcha_ljspeech.ckpt

or simply!

matcha-tts-get-durations -i ljspeech.yaml -c matcha_ljspeech.ckpt

Possibility to train Matcha-TTS from the extracted alignments as mentioned in #73 (comment)

In the datasetconfig turn on load duration.
Example: ljspeech.yaml

load_durations: True

or see an examples in configs/experiment/ljspeech_from_durations.yaml


@shivammehta25 shivammehta25 linked an issue May 27, 2024 that may be closed by this pull request
@shivammehta25 shivammehta25 merged commit bd37d03 into main May 27, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Matcha-TTS has very low GPU utilization. About batch inference for multi-speakers
1 participant