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

Getting K3 binary to run properly on Windows #315

Open
Tamaya31 opened this issue Jan 2, 2023 · 1 comment
Open

Getting K3 binary to run properly on Windows #315

Tamaya31 opened this issue Jan 2, 2023 · 1 comment

Comments

@Tamaya31
Copy link

Tamaya31 commented Jan 2, 2023

Hello gentlewomen and gentlemen,

I've been trying to get K3 binary to work on Windows, and I'm now stuck with this issue :

ASSERTION_FAILED ([5.5-win]:kaldi::LatticeFasterOnlineDecoderTpl<class fst::Fst<struct fst::ArcTpl<class fst::TropicalWeightTpl > > >::BestPathEnd():decoder\lattice-faster-online-decoder.cc:85) Assertion failed: (this->NumFramesDecoded() > 0 && "You cannot call BestPathEnd if no frames were decoded.")

In order to test this I basically merged the two "if" statements (push-chunk and get-final), and added some code to open a wav file then extract its content into a buffer beforehand.

I've compiled Kaldi with MKL 2022.2.1 (I tried OpenBLAS but got stuck) and OpenFST latest (cad8bcb52fca3bcd8702dbbba8ed9de66a649e78).

Does anyone managed to get K3 binary to work on windows? Or any clue why no frame have been decoded? Or am I missing something?

I can post some of that test case code if that helps.

Thanks in advance.

@Tamaya31
Copy link
Author

Tamaya31 commented Jan 4, 2023

The decoded frame number being zero was because of the frame rate expressed in Hz and not kHz, so I was pushing a thousand time more data than required.

But now after calling CompactLatticeToWordProns it doesn't output any words.

Any clue there ? I'll keep searching.

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

1 participant