kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.24k stars 5.32k forks source link

ivector-extractor-est error #3224

Closed 313024351 closed 5 years ago

313024351 commented 5 years ago
# ivector-extractor-est --num-threads=1 exp/nnet2_online/extractor/0.ie exp/nnet2_online/extractor/acc.0 exp/nnet2_online/extractor/1.ie 
# Started at Fri Apr 12 08:26:29 CST 2019
#
ivector-extractor-est --num-threads=1 exp/nnet2_online/extractor/0.ie exp/nnet2_online/extractor/acc.0 exp/nnet2_online/extractor/1.ie 
LOG (ivector-extractor-est[5.5.243~1-8cafd]:main():ivector-extractor-est.cc:55) Reading model
LOG (ivector-extractor-est[5.5.243~1-8cafd]:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (ivector-extractor-est[5.5.243~1-8cafd]:ComputeDerivedVars():ivector-extractor.cc:204) Done.
LOG (ivector-extractor-est[5.5.243~1-8cafd]:main():ivector-extractor-est.cc:59) Reading statistics
ASSERTION_FAILED (ivector-extractor-est[5.5.243~1-8cafd]:CheckDims():ivector-extractor.cc:1108) Assertion failed: (gamma_.Dim() == I)

[ Stack-Trace: ]
kaldi::MessageLogger::LogMessage() const
kaldi::KaldiAssertFailure_(char const*, char const*, int, char const*)
kaldi::IvectorExtractorStats::CheckDims(kaldi::IvectorExtractor const&) const
kaldi::IvectorExtractorStats::Update(kaldi::IvectorExtractorEstimationOptions const&, kaldi::IvectorExtractor*) const
main
__libc_start_main
_start

# Accounting: time=1 threads=1
# Ended (code 134) at Fri Apr 12 08:26:30 CST 2019, elapsed time 1 seconds
danpovey commented 5 years ago

Did you do anything weird like change the configuration and rerun with the --stage option? Are you using unmodified Kaldi, and if so which script are you running?

313024351 commented 5 years ago

Oh, I think the data/wav.scp uu2stk ... were builded with error. And I rebuild it, then the problem was solved. Thanks.