An invalid option error

415 views
Skip to first unread message

Jackie

unread,
Nov 1, 2017, 11:10:55 PM11/1/17
to kaldi-help
Dear everyone,
             When I “run_lstm.sh” under nnet3, there is an strange error,the details are showed as follow, could anyone teach me something about what caused this error? Thanks in advance!
   
Append(Offset(input, -2), Offset(input, -1), input, Offset(input, 1), Offset(input, 2), ReplaceIndex(ivector, t, 0))
steps/nnet3/lstm/train.sh: calling get_egs.sh
steps/nnet3/get_egs.sh --cmvn-opts --norm-means=false --norm-vars=false --feat-type raw --online-ivector-dir exp/nnet3/ivectors_train_sp --transform-dir exp/tri3_ali --left-context 40 --right-context 7 --cmd run.pl --stage 0 --samples-per-iter 20000 --frames-per-eg 20 data/train_sp exp/tri3_ali exp/nnet3/lstm_ld5/egs
steps/nnet3/get_egs.sh: invalid option --feat-type

Daniel Povey

unread,
Nov 1, 2017, 11:12:12 PM11/1/17
to kaldi-help
It means you are running some example script that's out of date.  For example tedlium s5, you should be using s5_r2.

--
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+unsubscribe@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/740e1af3-6cc2-4dc4-8f70-4f5e968cc5b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jackie

unread,
Nov 2, 2017, 3:28:00 AM11/2/17
to kaldi-help
Dear Dan,
           Actually all the script I used was copied from wsj,and I compiled the latest version of kaldi

在 2017年11月2日星期四 UTC+8上午11:12:12,Dan Povey写道:
It means you are running some example script that's out of date.  For example tedlium s5, you should be using s5_r2.
On Wed, Nov 1, 2017 at 11:10 PM, Jackie <wx19...@gmail.com> wrote:
Dear everyone,
             When I “run_lstm.sh” under nnet3, there is an strange error,the details are showed as follow, could anyone teach me something about what caused this error? Thanks in advance!
   
Append(Offset(input, -2), Offset(input, -1), input, Offset(input, 1), Offset(input, 2), ReplaceIndex(ivector, t, 0))
steps/nnet3/lstm/train.sh: calling get_egs.sh
steps/nnet3/get_egs.sh --cmvn-opts --norm-means=false --norm-vars=false --feat-type raw --online-ivector-dir exp/nnet3/ivectors_train_sp --transform-dir exp/tri3_ali --left-context 40 --right-context 7 --cmd run.pl --stage 0 --samples-per-iter 20000 --frames-per-eg 20 data/train_sp exp/tri3_ali exp/nnet3/lstm_ld5/egs
steps/nnet3/get_egs.sh: invalid option --feat-type

--
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.

Daniel Povey

unread,
Nov 2, 2017, 12:38:28 PM11/2/17
to kaldi-help
I was referring to outdated example scripts.  run_lstm.sh is outdated.


To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+unsubscribe@googlegroups.com.

To post to this group, send email to kaldi...@googlegroups.com.

Daniel Povey

unread,
Nov 2, 2017, 12:41:17 PM11/2/17
to kaldi-help
The scripts did say at the top that they were deprecated.  But I removed them that they don't work at all.

Reply all
Reply to author
Forward
0 new messages