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

Why are we using "load_segments_rechash" function when loading the segments file? Why are we not using "load_segments", Its causing key error in the pipeline. #32

Open
saumyaborwankar opened this issue Nov 16, 2021 · 0 comments

Comments

@saumyaborwankar
Copy link

saumyaborwankar commented Nov 16, 2021

This is regarding mini_librispeech speech recipe
Line number 254 in eend/feature.py filtered_segments = kaldi_obj.segments[kaldi_obj.segments['rec'] == rec] returns a key error of 'rec' if we use load_segments_recash in line number 149 in eend/kaldi_data.py which can be fixed by using filtered_segments = kaldi_obj.segments[rec] But I'm not really sure if we should change this.
Any help is welcome.
Let me know what to use and when to use. Thanks

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

No branches or pull requests

1 participant