FatalError when running run.sh enter kaldi/egs/digits/run.sh

1,289 views
Skip to first unread message

ams amm

unread,
Aug 5, 2019, 11:27:43 PM8/5/19
to kaldi-help
===== MONO TRAINING =====

steps/train_mono.sh --nj 1 --cmd run.pl data/train data/lang exp/mono
steps/train_mono.sh: Initializing monophone system.
feat-to-dim 'ark,s,cs:apply-cmvn --utt2spk=ark:data/train/split1/1/utt2spk scp:data/train/split1/1/cmvn.scp scp:data/train/split1/1/feats.scp ark:- | add-deltas ark:- ark:- |' -
apply-cmvn --utt2spk=ark:data/train/split1/1/utt2spk scp:data/train/split1/1/cmvn.scp scp:data/train/split1/1/feats.scp ark:-
WARNING (apply-cmvn[5.5.437~1-5b26]:Open():util/kaldi-table-inl.h:106) Failed to open script file data/train/split1/1/feats.scp
ERROR (apply-cmvn[5.5.437~1-5b26]:SequentialTableReader():util/kaldi-table-inl.h:860) Error constructing TableReader: rspecifier is scp:data/train/split1/1/feats.scp

[ Stack-Trace: ]
/home/linux/kaldi/src/lib/libkaldi-base.so(kaldi::MessageLogger::LogMessage() const+0x77c) [0x7f68b67f1a58]
apply-cmvn(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x21) [0x563bbd773573]
apply-cmvn(kaldi::SequentialTableReader<kaldi::KaldiObjectHolder<kaldi::Matrix<float> > >::SequentialTableReader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xc2) [0x563bbd77abca]
apply-cmvn(main+0x7b1) [0x563bbd770ff6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f68b63f2b6b]
apply-cmvn(_start+0x2a) [0x563bbd77078a]

add-deltas ark:- ark:-
kaldi::KaldiFatalErrorERROR (feat-to-dim[5.5.437~1-5b26]:main():feat-to-dim.cc:58) Could not read any features (empty archive?)

[ Stack-Trace: ]
/home/linux/kaldi/src/lib/libkaldi-base.so(kaldi::MessageLogger::LogMessage() const+0x77c) [0x7fdb664b5a58]
feat-to-dim(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x21) [0x55ee6edb8599]
feat-to-dim(main+0x2ee) [0x55ee6edb7993]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fdb660b6b6b]
feat-to-dim(_start+0x2a) [0x55ee6edb75ea]

kaldi::KaldiFatalErrorerror getting feature dimension

Desh Raj

unread,
Aug 6, 2019, 10:27:10 AM8/6/19
to kaldi...@googlegroups.com
Check if this file exists: data/train/split1/1/feats.scp. If not, run the feature generation stage (look for steps/make_mfcc.sh).

Desh

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/23f51cc9-e460-493a-afb2-eed1410dbef5%40googlegroups.com.

ams amm

unread,
Aug 6, 2019, 10:01:23 PM8/6/19
to kaldi-help
when i run steps/make_mfcc.sh, make_mfcc.sh
make_mfcc.sh: line 20: parse_options.sh: No such file or directory
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi...@googlegroups.com.

Desh Raj

unread,
Aug 7, 2019, 10:43:22 AM8/7/19
to kaldi...@googlegroups.com
You need to source your path.sh first (. ./path.sh).

Desh

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/e5423df8-e8d3-4a0a-8334-e32e02f41b6b%40googlegroups.com.

Desh Raj

unread,
Aug 7, 2019, 10:51:10 AM8/7/19
to kaldi...@googlegroups.com
In general, I'd suggest you follow any of the run.sh scripts in kaldi/egs and make changes according to what data you are using. Those recipes are very complete and will help you get through all the stages (from data preparation to decoding) start to finish. You can start with the egs/wsj/s5/run.sh. You can use `--stage` option to run from a particular stage.

Desh

On Wed, Aug 7, 2019 at 10:43 AM Desh Raj <r.de...@gmail.com> wrote:
You need to source your path.sh first (. ./path.sh).

Desh

  ‌‌

TopWissTv

unread,
Aug 7, 2019, 1:46:05 PM8/7/19
to kaldi-help
please can some one give   a  video how to install kaldi in windows 

ams amm

unread,
Aug 8, 2019, 12:17:24 AM8/8/19
to kaldi-help
Thanks, I will try.


On Wednesday, August 7, 2019 at 9:21:10 PM UTC+6:30, Desh Raj wrote:
In general, I'd suggest you follow any of the run.sh scripts in kaldi/egs and make changes according to what data you are using. Those recipes are very complete and will help you get through all the stages (from data preparation to decoding) start to finish. You can start with the egs/wsj/s5/run.sh. You can use `--stage` option to run from a particular stage.

Desh

Reply all
Reply to author
Forward
0 new messages