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

Add RecordingChunkIterableDataset #985

Merged
merged 8 commits into from
Feb 21, 2023
Merged

Conversation

pzelasko
Copy link
Collaborator

CC @danpovey this is what I suggest to efficiently load chunks of long recordings. I just need to add support for chunk_shift to fit your requirements.

Resolves #983

@pzelasko pzelasko marked this pull request as ready for review February 21, 2023 18:44
@pzelasko
Copy link
Collaborator Author

pzelasko commented Feb 21, 2023

It scales pretty much linearly, on a local SSD I'm loading 3h of audio in one second with 4 workers (batch_size=32 * chunk_size=5s * 91 it/s / 3600s ~= 3h 14min, some of it overlapped), not a bad result...

image

@pzelasko pzelasko merged commit 9fb25d6 into master Feb 21, 2023
@pzelasko pzelasko deleted the feature/mixed-cut-move-to-memory branch February 21, 2023 20:31
@pzelasko pzelasko added this to the v1.13 milestone Feb 21, 2023
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.

Large audio files processing
1 participant