online2-wav-nnet3-latgen-faster: command not found while trying to run Aspire model

542 views
Skip to first unread message

Nitin shukla

unread,
Jul 1, 2019, 1:49:20 PM7/1/19
to kaldi-help
I am following https://chrisearch.wordpress.com/2017/03/11/speech-recognition-using-kaldi-extending-and-using-the-aspire-model/ for verifying the accuracy of transcripts on my wav files. However when i try to run the below command:

online2-wav-nnet3-latgen-faster \
  --online=false \
  --do-endpointing=false \
  --frame-subsampling-factor=3 \
  --config=exp/tdnn_7b_chain_online/conf/online.conf \
  --max-active=7000 \
  --beam=15.0 \
  --lattice-beam=6.0 \
  --acoustic-scale=1.0 \
  --word-symbol-table=exp/tdnn_7b_chain_online/graph_pp/words.txt \
  exp/tdnn_7b_chain_online/final.mdl \
  exp/tdnn_7b_chain_online/graph_pp/HCLG.fst \
  'ark:echo utterance-id1 utterance-id1|' \
  'scp:echo utterance-id1  /tests/test.wav|' \
  'ark:/dev/null'

I am getting the error online2-wav-nnet3-latgen-faster: command not found .  I have compiled Kaldi properly and verified it by running the yesno example. What might be the issue here?

Regards,
Nitin 

Daniel Povey

unread,
Jul 1, 2019, 1:52:28 PM7/1/19
to kaldi-help
A path issue.  You have to do something like
. ./path.sh
to source the path.  Find the right path.sh file, and make sure that it's at the right level below the top level of the repo, so relative pathnames work (or set KALDI_ROOT right)

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
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 post to this group, send email to kaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/fd2ae9e6-00a7-4ad3-98b6-53f141292a45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nitin shukla

unread,
Jul 1, 2019, 2:36:46 PM7/1/19
to kaldi-help
It worked Dan. Thank you so much for your help. Really appreciate it.


On Monday, July 1, 2019 at 11:22:28 PM UTC+5:30, Dan Povey wrote:
A path issue.  You have to do something like
. ./path.sh
to source the path.  Find the right path.sh file, and make sure that it's at the right level below the top level of the repo, so relative pathnames work (or set KALDI_ROOT right)

On Mon, Jul 1, 2019 at 1:49 PM Nitin shukla <nitin.s...@gmail.com> wrote:
I am following https://chrisearch.wordpress.com/2017/03/11/speech-recognition-using-kaldi-extending-and-using-the-aspire-model/ for verifying the accuracy of transcripts on my wav files. However when i try to run the below command:

online2-wav-nnet3-latgen-faster \
  --online=false \
  --do-endpointing=false \
  --frame-subsampling-factor=3 \
  --config=exp/tdnn_7b_chain_online/conf/online.conf \
  --max-active=7000 \
  --beam=15.0 \
  --lattice-beam=6.0 \
  --acoustic-scale=1.0 \
  --word-symbol-table=exp/tdnn_7b_chain_online/graph_pp/words.txt \
  exp/tdnn_7b_chain_online/final.mdl \
  exp/tdnn_7b_chain_online/graph_pp/HCLG.fst \
  'ark:echo utterance-id1 utterance-id1|' \
  'scp:echo utterance-id1  /tests/test.wav|' \
  'ark:/dev/null'

I am getting the error online2-wav-nnet3-latgen-faster: command not found .  I have compiled Kaldi properly and verified it by running the yesno example. What might be the issue here?

Regards,
Nitin 

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages