Dear Snyder,
Thanks for your advice about how to find related references, I have tried to remove the argument --stage 3 but I still got the errors. There is the detailed information below:
The information in the console is that:lid/train_ivector_extractor.sh --cmd
run.pl -l mem_free=35G,ram_free=35G --use-weights true --num-iters 5 exp/full_ubm_2048/final.ubm data/train exp/extractor_2048
lid/train_ivector_extractor.sh: doing Gaussian selection and posterior computation
Accumulating stats (pass 0)
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.6.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.8.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.9.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.3.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.10.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.7.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.5.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.1.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.4.log
run.pl: job failed, log is in exp/extractor_2048/log/acc.0.2.log
Error accumulating stats on iteration 0
The content of acc.0.1.log is that:# Started at Sun Oct 11 17:38:28 CST 2015
#
ivector-extractor-sum-accs --parallel=true "ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/1/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/1/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.1.gz|' -|" "ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/2/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/2/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.2.gz|' -|" "ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/3/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/3/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.3.gz|' -|" "ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/4/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/4/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.4.gz|' -|" exp/extractor_2048/acc.0.1
ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/4/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/4/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.4.gz|' -
ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/1/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/1/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.1.gz|' -
ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/2/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/2/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.2.gz|' -
ivector-extractor-acc-stats --num-threads=4 --num-samples-for-weights=3 exp/extractor_2048/
0.ie 'ark,s,cs:apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/3/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/3/vad.scp ark:- |' 'ark,s,cs:gunzip -c exp/extractor_2048/post.3.gz|' -
apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/1/feats.scp ark:-
select-voiced-frames ark:- scp,s,cs:data/train/split40/4/vad.scp ark:-
apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/3/feats.scp ark:-
add-deltas-sdc ark:- ark:-
apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/4/feats.scp ark:-
add-deltas-sdc ark:- ark:-
apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/2/feats.scp ark:-
select-voiced-frames ark:- scp,s,cs:data/train/split40/2/vad.scp ark:-
select-voiced-frames ark:- scp,s,cs:data/train/split40/3/vad.scp ark:-
add-deltas-sdc ark:- ark:-
select-voiced-frames ark:- scp,s,cs:data/train/split40/1/vad.scp ark:-
add-deltas-sdc ark:- ark:-
LOG (ivector-extractor-acc-stats:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (ivector-extractor-acc-stats:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (ivector-extractor-acc-stats:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (ivector-extractor-acc-stats:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (ivector-extractor-acc-stats:ComputeDerivedVars():ivector-extractor.cc:204) Done.
WARNING (ivector-extractor-acc-stats:Close():kaldi-io.cc:465) Pipe gunzip -c exp/extractor_2048/post.1.gz| had nonzero return status 13
WARNING (ivector-extractor-acc-stats:Close():kaldi-io.cc:465) Pipe apply-cmvn-sliding --norm-vars=false --center=true --cmn-window=300 scp:data/train/split40/1/feats.scp ark:- | add-deltas-sdc ark:- ark:- | select-voiced-frames ark:- scp,s,cs:data/train/split40/1/vad.scp ark:- | had nonzero return status 36096
std::bad_allocERROR (ivector-extractor-sum-accs:ExpectToken():io-funcs.cc:197) Failed to read token [started at file position -1], expected <IvectorExtractorStats>
ERROR (ivector-extractor-sum-accs:ExpectToken():io-funcs.cc:197) Failed to read token [started at file position -1], expected <IvectorExtractorStats>
[stack trace: ]
kaldi::KaldiGetStackTrace()
kaldi::KaldiErrorMessage::~KaldiErrorMessage()
kaldi::ExpectToken(std::istream&, bool, char const*)
kaldi::IvectorExtractorStats::Read(std::istream&, bool, bool)
ivector-extractor-sum-accs(main+0x406) [0x473448]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f5cc19d0ec5]
ivector-extractor-sum-accs() [0x472fa9]
# Accounting: time=2619 threads=1
# Ended (code 255) at Sun Oct 11 18:22:08 CST 2015, elapsed time 2619 seconds
LOG (ivector-extractor-acc-stats:ComputeDerivedVars():ivector-extractor.cc:204) Done.
The other nine files are just like this file with slight difference. I have confirmed that I did have the posteriors in exp/extractor_2048/post*gz and a final.ubm in exp/full_ubm_2048. Is that possible that I don't have enough memory to do this job? My machine has 32GiB memories.
Thanks,
抄送: david.ry...@gmail.com, guo19...@126.com, li_...@tju.edu.cn
主题: Re: Re: Re: Re: [kaldi-help]Lre07 train_ivector_extractor: How to debug the failed token?