Menu

lattice for kaldi

Help
jesjkl
2014-06-25
2014-06-26
  • jesjkl

    jesjkl - 2014-06-25

    Hi,

    i try to the command

    gmm-latgen-simple --beam=13.0 --acoustic-scale=0.083333 exp/m0/final.mdl \
    exp/m0/graph_test_fg/HCLG.fst ark:test.ark "ark,t:|gzip -c > 1.lats.gz"

    but i get the error message
    ERROR (gmm-latgen-simple:LogLikelihoodZeroBased():decodable-am-diag-gmm.cc:48) Dim mismatch: data dim = 13 vs. model dim = 39
    ERROR (gmm-latgen-simple:LogLikelihoodZeroBased():decodable-am-diag-gmm.cc:48) Dim mismatch: data dim = 13 vs. model dim = 39

    How can i solve this problem? Thanks.

     

    Last edit: jesjkl 2014-06-25
    • Daniel Povey

      Daniel Povey - 2014-06-25

      It looks like you are trying to decode with raw 13-dimensional features
      instead of processed 39-dimensional features. The program add-deltas can
      do the processing (e.g. replace ark:foo.ark with "ark:add-deltas
      ark:foo.ark ark:-|"), but that might still not work because there would be
      no cepstral mean normalization. If you run one the decoding scripts
      (steps/decode.sh and so on) you can see how it is supposed to work, in the
      log files.
      Dan

      On Wed, Jun 25, 2014 at 4:56 AM, jesjkl jesjkl@users.sf.net wrote:

      Hi,

      i try to the command

      gmm-latgen-simple --beam=13.0 --acoustic-scale=0.083333 exp/m0/final.mdl \
      exp/m0/graph_test_fg/HCLG.fst ark:test.ark "ark,t:|gzip -c > 1.lats.gz"

      but i get the error message
      ERROR
      (gmm-latgen-simple:LogLikelihoodZeroBased():decodable-am-diag-gmm.cc:48)
      Dim mismatch: data dim = 13 vs. model dim = 39
      ERROR
      (gmm-latgen-simple:LogLikelihoodZeroBased():decodable-am-diag-gmm.cc:48)
      Dim mismatch: data dim = 13 vs. model dim = 39

      How do i solve this problem? Thanks.

      lattice for kaldi
      https://sourceforge.net/p/kaldi/discussion/1355348/thread/898cc2c7/?limit=25#ed94


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/kaldi/discussion/1355348/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • jesjkl

    jesjkl - 2014-06-26

    Thanks for Dan.

    i have been solve this problem.

     
MongoDB Logo MongoDB