kaldi-asr / kaldi

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

when training the DFSMN used "egs/librispeech/s5$ vim local/nnet/run_fsmn_ivector.sh",there are some errors as below.How can I solve them #2537

Closed lancegon closed 6 years ago

lancegon commented 6 years ago

NN-INITIALIZATION

93 # initializing NN from prototype 'proto/DFSMN_S.proto' 94 nnet-initialize --seed=777 proto/DFSMN_S.proto exp/tri7b_DFSMN_S/nnet.init 95 ERROR (nnet-initialize[5.4]:Input():kaldi-io.cc:756) Error opening input stream proto/DFSMN_S.proto 96
97 [ Stack-Trace: ] 98
99 kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const) 100 kaldi::MessageLogger::~MessageLogger() 101 kaldi::Input::Input(std::string const&, bool) 102 kaldi::nnet1::Nnet::Init(std::string const&) 103 main 104 __libc_start_main 105 nnet-initialize() [0x408bf9] 106
107 # Accounting: time=252 threads=1 108 # Ended (code 255) at Sat Jul 7 18:08:50 CST 2018, elapsed time 252 seconds

danpovey commented 6 years ago

that 'proto' file doesn't exist, that's the problem. you could contact whoever created that PR. It has not been merged.

lancegon commented 6 years ago

OK,thank you!

yangxueruivs commented 5 years ago

The local/nnet/run** script is not correct, which send a incorrect .proto address to train_fast script, you need to modify yourself.