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 rounding scheme rasr_compatible #433

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

michelwi
Copy link
Contributor

I found that RASR and the BlissToPcmHDFJob use different rounding methods when the start/end time in the corpus does not coincide exactly with a sample. This might in a few cases lead to a different number of frames for features and alignments and break the training.

This implements a rounding scheme that I believe is compatible with RASR.

returnn/hdf.py Outdated Show resolved Hide resolved
Co-authored-by: vieting <[email protected]>
Copy link
Collaborator

@Icemole Icemole left a comment

Choose a reason for hiding this comment

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

Hello! @michelwi and I tested for mismatches between the features generated by this PR and the alignments generated by RASR, and I can confirm that everything seems to be fine now! 🙂

@christophmluscher christophmluscher merged commit ea4e491 into main Jul 31, 2023
4 checks passed
@christophmluscher christophmluscher deleted the willi-make-BlissToPcmHDFJob-RASR-compatible branch July 31, 2023 09:19
Atticus1806 pushed a commit that referenced this pull request Oct 2, 2023
* Add rounding scheme rasr_compatible

* Update returnn/hdf.py

Co-authored-by: vieting <[email protected]>

---------

Co-authored-by: vieting <[email protected]>
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