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

Running lattice rescoring in kaldi get coredumpe? #4719

Open
trangtv57 opened this issue Mar 29, 2022 · 3 comments
Open

Running lattice rescoring in kaldi get coredumpe? #4719

trangtv57 opened this issue Mar 29, 2022 · 3 comments
Labels
bug stale Stale bot on the loose

Comments

@trangtv57
Copy link

hi All,
When I try to run kaldi/egs/wsj/s5/local/pytorchnn/run_nnlm.sh file for rescore, first script (lmrescore_nbest_pytorchnn.sh) rescore with n-best is ok. But when I try to use lattic rescoring (lmrescore_lattice_pytorchnn.sh) it's stop and get core dump error:
20fa42712d26e378ba37
I don't have any idea why it's happen and how to fix. Pls help.Tks

@trangtv57 trangtv57 added the bug label Mar 29, 2022
@danpovey
Copy link
Contributor

lattice-path-cover.cc is not a frequently-used program.
The assertion:
KALDI_ASSERT(clat.NumStates() > 1);
at its line 41 does not look right to me. Compact lattices can legitimately have just 1 state, even nonempty ones.
You could try just removing the assertion and see if it still runs OK. If so you could make a PR.

@trangtv57
Copy link
Author

tks @danpovey ,
I will check then report result later.

@stale
Copy link

stale bot commented Jun 27, 2022

This issue has been automatically marked as stale by a bot solely because it has not had recent activity. Please add any comment (simply 'ping' is enough) to prevent the issue from being closed for 60 more days if you believe it should be kept open.

@stale stale bot added the stale Stale bot on the loose label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Stale bot on the loose
Projects
None yet
Development

No branches or pull requests

2 participants