|
From: Mailing l. u. f. U. C. a. U. <kal...@li...> - 2013-08-15 12:01:22
|
This is because all discriminative training setups (not just for DNNs) assume that they are using triphone models. The easiest way for you to fix it will be to add '--mono' option to where utils/mkgraph.sh is being called in make_denlats_nnet.sh As far as I know, there is currently no easy way to tell what kind of context-dependency the models use. It is assumed that the user knows what they are doing. For example, the setups won't work for quinphone models either without making the necessary modifications to the mkgrph options. Maybe one can write something like 'tree-info' and use that to automatically set the mkgraph options. -Arnab On Thu, Aug 15, 2013 at 10:17 AM, Mailing list used for User Communication and Updates <kal...@li...> wrote: > Hi All, > > I am trying to train a DNN for TIMIT as it is much smaller to play with. So, > I modified the run_dnn.sh file given in the wsj/s5 setup. However, while > trying to perform sMBR, following error occurred. Your advice is highly > appreciated. > > Thanks, > Lahiru > > steps/make_denlats_nnet.sh --nj 100 --cmd run.pl --config > conf/decode_dnn.config --acwt 0.10 data-fmllr-mono/train data/lang > exp/mono_pretrain-dbn_dnn exp/mono_pretrain-dbn_dnn_denlats_train > steps/make_denlats_nnet.sh --nj 100 --cmd run.pl --config > conf/decode_dnn.config --acwt 0.10 data-fmllr-mono/train data/lang > exp/mono_pretrain-dbn_dnn exp/mono_pretrain-dbn_dnn_denlats_train > Making unigram grammar FST in exp/mono_pretrain-dbn_dnn_denlats_train/lang > Compiling decoding graph in exp/mono_pretrain-dbn_dnn_denlats_train/dengraph > fstminimizeencoded > fsttablecompose exp/mono_pretrain-dbn_dnn_denlats_train/lang/L_disambig.fst > exp/mono_pretrain-dbn_dnn_denlats_train/lang/G.fst > fstdeterminizestar --use-log=true > fstisstochastic exp/mono_pretrain-dbn_dnn_denlats_train/lang/tmp/LG.fst > 1.2886e-05 -0.000277955 > fstcomposecontext --context-size=3 --central-position=1 > --read-disambig-syms=exp/mono_pretrain-dbn_dnn_denlats_train/lang/phones/disambig.int > --write-disambig-syms=exp/mono_pretrain-dbn_dnn_denlats_train/lang/tmp/disambig_ilabels_3_1.int > exp/mono_pretrain-dbn_dnn_denlats_train/lang/tmp/ilabels_3_1 > fstisstochastic exp/mono_pretrain-dbn_dnn_denlats_train/lang/tmp/CLG_3_1.fst > 1.25878e-05 -0.000277955 > make-h-transducer > --disambig-syms-out=exp/mono_pretrain-dbn_dnn_denlats_train/dengraph/disambig_tid.int > --transition-scale=1.0 > exp/mono_pretrain-dbn_dnn_denlats_train/lang/tmp/ilabels_3_1 > exp/mono_pretrain-dbn_dnn/tree exp/mono_pretrain-dbn_dnn/final.mdl > ERROR (make-h-transducer:GetHmmAsFst():hmm-utils.cc:41) Context size > mismatch, ilabel-info [from context FST is 3, context-dependency object > expects 1 > ERROR (make-h-transducer:GetHmmAsFst():hmm-utils.cc:41) Context size > mismatch, ilabel-info [from context FST is 3, context-dependency object > expects 1 > > [stack trace: ] > kaldi::KaldiGetStackTrace() > kaldi::KaldiErrorMessage::~KaldiErrorMessage() > kaldi::GetHmmAsFst(std::vector<int, std::allocator<int> >, > kaldi::ContextDependencyInterface const&, kaldi::TransitionModel const&, > kaldi::HTransducerConfig const&, std::tr1::unordered_map<std::pair<int, > std::vector<int, std::allocator<int> > >, > fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >*, > kaldi::HmmCacheHash, std::equal_to<std::pair<int, std::vector<int, > std::allocator<int> > > >, std::allocator<std::pair<std::pair<int, > std::vector<int, std::allocator<int> > > const, > fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >*> >, false>*) > kaldi::GetHTransducer(std::vector<std::vector<int, std::allocator<int> >, > std::allocator<std::vector<int, std::allocator<int> > > > const&, > kaldi::ContextDependencyInterface const&, kaldi::TransitionModel const&, > kaldi::HTransducerConfig const&, std::vector<int, std::allocator<int> >*) > make-h-transducer(main+0x4b5) [0x59bc31] > /lib64/libc.so.6(__libc_start_main+0xf4) [0x3bafe1d994] > std::basic_filebuf<char, std::char_traits<char> >::xsputn(char const*, long) > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Kaldi-users mailing list > Kal...@li... > https://lists.sourceforge.net/lists/listinfo/kaldi-users > |