-
Notifications
You must be signed in to change notification settings - Fork 218
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
#1203 Update compute_supervisions_frame_mask()
to skip negative end indices
#1204
base: master
Are you sure you want to change the base?
Conversation
…end indices When flipping mask digits to 1.0, negative indices should never be used.
compute_supervisions_frame_mask()
to skip negative end indices
Right. I triggered the tests, if they're green, LGTM. |
It wants some newlines. Can this automatically apply the changes or do I need to manually change them? |
You would need to run black formatting. See development instructions here: https://github.com/lhotse-speech/lhotse#development-installation |
Please follow these instructions, pre-commit will auto-apply relevant changes, but you'll need to commit them yourself. https://github.com/lhotse-speech/lhotse#development-installation |
Sorry I was busy with something else. I upgraded to Lhotse 1.18, and seems like the So this means when we need to Want to confirm this before making any further change. Probably related to #1193 |
That PR is a bug fix, not a change in behavior. Alignments were always supposed to have absolute start times (w.r.t. the recording), whereas supervisions are supposed to be relative (w.r.t the cut). |
When flipping mask digits to 1.0, negative indices should never be used.