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

Fix to LibriTTS formatter #1386

Closed
wants to merge 3 commits into from
Closed

Fix to LibriTTS formatter #1386

wants to merge 3 commits into from

Conversation

stanleyshly
Copy link

Sorry for the small PR, just discovered a bug with the LibriTTS formatter, and I thought I would open up a pull request to solve the issued I opened: #1380.

@CLAassistant
Copy link

CLAassistant commented Mar 13, 2022

CLA assistant check
All committers have signed the CLA.

@@ -246,7 +246,7 @@ def libri_tts(root_path, meta_files=None, ignored_speakers=None):
continue
items.append({"text": text, "audio_file": wav_file, "speaker_name": f"LTTS_{speaker_name}"})
for item in items:
assert os.path.exists(item[1]), f" [!] wav files don't exist - {item[1]}"
assert os.path.exists(item["audio_file"]), f" [!] wav files don't exist - {item[1]}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to change the second one too

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes made

@erogol erogol changed the base branch from main to dev March 16, 2022 11:00
@erogol
Copy link
Member

erogol commented Mar 16, 2022

I close this as there are errors. Thanks for the try but I fix it myself.

@erogol erogol closed this Mar 16, 2022
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.

3 participants