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

Chain alignments used for training #4888

Open
Neuroxic opened this issue Nov 27, 2023 · 1 comment
Open

Chain alignments used for training #4888

Neuroxic opened this issue Nov 27, 2023 · 1 comment

Comments

@Neuroxic
Copy link

I am trying to use the alignments generated by steps/nnet3/align.sh from my first chain model to train my next chain model (with the same data and model configuration). I want to investigate if better alignments have a noticeable impact on the WER.

Unfortunately, when creating a new tree, I get the error message "Alignments have wrong size X vs. Y".

Have I overlooked something when creating the alignments or can alignments of chain/nnet3 models not be used for training?

Many thanks!

@danpovey
Copy link
Contributor

You may be able to fix this by setting --chain.alignment-subsampling-factor=1 to steps/nnet3/chain/train.py
it default to 3 which is necessary because GMM alignments are at 100 frames per second, not 33

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

2 participants