online2-wav-nnet3-latgen-faster printing code

111 views
Skip to first unread message

Amol Bole

unread,
May 23, 2022, 1:31:51 AM5/23/22
to kaldi-help
Dear all, 
I am trying to decode by using online2-wav-nnet3-latgen-faster but it's printing code as below instead of decoding. For reference purpose I attached the script as well. Language mode and graph is also successfully built still facing this issue.

(base) [user@login english_closed_cmu_new]$ ./online_speech_DNN.sh test/ 2.wav
/scratch/pranaw/asr/english_closed_cmu_new
--config=/scratch/pranaw/asr/english_closed_cmu_new/exp/chain/tdnn1a_sp_online/conf/online.conf --do-endpointing=false --frames-per-chunk=20 --extra-left-context-initial=0 --online=true --frame-subsampling-factor=3 --max-active=7000 --beam=15.0 --lattice-beam=6.0 --online=true --acoustic-scale=1.0 --word-symbol-table=/scratch/pranaw/asr/english_closed_cmu_new/exp/chain/tree_sp/graph_phoneme/words.txt /scratch/pranaw/asr/english_closed_cmu_new/exp/chain/tdnn1a_sp_online/final.mdl /scratch/pranaw/asr/english_closed_cmu_new/exp/chain/tree_sp/graph_phoneme/HCLG.fst ark:test//spk2utt scp:test//wav.scp ark,t:test//trans.txt

online_speech_DNN.sh

Jan Yenda Trmal

unread,
May 23, 2022, 6:32:47 AM5/23/22
to kaldi-help
what's in the out.txt (your redirected stderr)?
It's better not to redirect stderr while you are debugging something
y.

--
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/4a54b4b8-59be-4d05-a3c1-e6ec39e3a8bbn%40googlegroups.com.

Amol Bole

unread,
May 24, 2022, 1:27:20 AM5/24/22
to kaldi-help
Here, I attached our out.txt
out.txt

Jan Yenda Trmal

unread,
May 24, 2022, 10:11:15 AM5/24/22
to kaldi-help
it seems fine -- the line that is responsible for the output is this
cat $wav_dir/recog.txt

Reply all
Reply to author
Forward
0 new messages