Skip to content

Bug fix in MP3 and FLAC compute length on TTSDataset#3092

Merged
Edresson merged 9 commits into
devfrom
mp3_len_fix
Dec 27, 2023
Merged

Bug fix in MP3 and FLAC compute length on TTSDataset#3092
Edresson merged 9 commits into
devfrom
mp3_len_fix

Conversation

@Edresson

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread TTS/tts/datasets/dataset.py Outdated
Comment thread TTS/tts/datasets/dataset.py Outdated
@Edresson Edresson requested a review from akx November 7, 2023 13:38

@akx akx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice! I guess a test that checks that each of the 3 ostensibly supported formats actually works (both get_audio_size and loading-wise) would be useful...

@Edresson

Edresson commented Nov 7, 2023

Copy link
Copy Markdown
Contributor Author

Nice! I guess a test that checks that each of the 3 ostensibly supported formats actually works (both get_audio_size and loading-wise) would be useful...

Yeah, I added a unit test that loads with all supported audio formats. And also call get_audio_size function.

@Edresson Edresson requested a review from akx November 7, 2023 17:09

@WeberJulian WeberJulian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread TTS/tts/datasets/dataset.py Outdated
@Edresson Edresson changed the title Bug fix in MP3 length on TTSDataset Bug fix in MP3 and FLAC compute length on TTSDataset Nov 8, 2023
@Edresson

Edresson commented Dec 6, 2023

Copy link
Copy Markdown
Contributor Author

Looks like the Trainer PR coqui-ai/Trainer#131 brokes the aux tests

@Edresson Edresson merged commit 5dcc16d into dev Dec 27, 2023
Pranjalya added a commit to Pranjalya/TTS that referenced this pull request Dec 29, 2023
Bug fix in MP3 and FLAC compute length on TTSDataset (coqui-ai#3092)
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.

4 participants