ASSERTION_FAILED ([5.5.1000~1-df1e9]:GetPerFrameAcousticCosts():lattice-functions.cc:53) Assertion failed: (nbest.NumArcs(cur_state) == 1)
The input Lattice I get from CompaceLattice which I get from decoder.GetLattice(true, clat).
Then I'am using this methods to get nbest (in my case n=1) Lattice
std::vector<kaldi::Lattice> nbestLats;
{
kaldi::Lattice nbest_lat;
fst::ShortestPath(lat, &nbest_lat, numBest);
fst::ConvertNbestToVector(nbest_lat, &nbestLats);
}
After that calling GetPerFrameAcousticCosts I get an error. What I am doing wrong, maybe I have to call other functions on Lattice before calling this function?
Thanks in advance,
Rafayel
--
Go to http://kaldi-asr.org/forums.html to find out how to join the kaldi-help group
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/f9777d0a-874f-445f-bcfd-b562ce1109f9n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/e9862c42-cb7a-41f1-a617-ca2d369684dbn%40googlegroups.com.