vosk-api
vosk-api copied to clipboard
error trying to compile-graph
Hi, I have latest vosk running on ubuntu 20.04, latest kaldi. I downloaded the vosk-model-en-us-0.22-compile, and just added one simple new word to existing extra.txt. I run compile-graph.sh but getting what I think are errors: mkgraph.sh: expected data/lang_test/G.fst to exist expected data/en-mix-small.lm.gz to exist
Attaching full logs. Any help would be appreciated.
And questions, let's say it will compile successfully, what are my next steps? (will it produce a directory with files/folders such as am, conf, graph, ivector) that I can move to the model directory?
Attaching full logs.
The logs are not complete, they start in the middle. From the error it seems you don't have SRILM installed.
And questions, let's say it will compile successfully, what are my next steps? (will it produce a directory with files/folders such as am, conf, graph, ivector) that I can move to the model directory?
Yes
I did have it installed successfully but re-installed it again (in /kaldi/tools i run ./install_srilm.sh with my details) and I also run source ./env.sh Then i went again to /vosk-api/python/example/model/vosk-model-en-us-0.22-compile and run ./compile-graph.sh and got the same error.
So it's still not working and hopefully this time I am attaching full logs (for the SRILM installation and vosk model change).
Really appreciate any help. log_srilm_installation.txt log_vosk_compile-graph.txt
Last line in installation log says you need to add srilm in path. You didn't do that.
Thank you but now I am getting something else.
Would you be able to point me in the right direction? error_log_compile_graph.txt
from the log it compiled correctly
But I don't see any directories like am, conf, graph, ivector. I did find in data directory en-mixp.lm.gz (small and extra.lm.gz). When I unzip one, i get file with lm extension (so again, don't see am/conf/graph/ivector).