Closed habernal closed 5 years ago
This was a trivial issue. The problem is that the script run_tuda_de.sh
overrides the global variable KALDI_ROOT
on the first line:
export KALDI_ROOT=/home/me/kaldi
export GST_PLUGIN_PATH=$KALDI_ROOT/tools/gst-kaldi-nnet2-online/src
python kaldigstserver/worker.py -u ws://localhost:8100/worker/ws/speech -c kaldi_tuda_de_nnet3_chain.yaml
while the original English model simply re-uses the global variable:
export KALDI_ROOT=$KALDI_ROOT
export GST_PLUGIN_PATH=$KALDI_ROOT/tools/gst-kaldi-nnet2-online/src
python kaldigstserver/worker.py -u ws://localhost:8100/worker/ws/speech -c sample_english_nnet2.yaml
After setting the variable properly, the decoder started.
Thanks for sharing the fix. I will try kaldi-gstreamer-server
as described in the News item from 2018-08-21.
Thanks for reporting this, I added a sentence in the README to point out that you need to change the KALDI_ROOT variable.
I've tried to run the provided pre-trained model
de_350k_nnet3chain_tdnn1f_1024_sp_bi.tar.bz2
on a working installation of Kaldi (i.e., the tedlium worker works with Gstreamer plugin successfully). I've copied the files and changed the paths in yaml accordingly but when starting the worker, the following error occurs. Obviously,self.asr
isNone
. Any hints?