Menu

MODULE 99 error

Help
jey
2010-10-19
2012-09-22
  • jey

    jey - 2010-10-19

    I'm following this tutorial (although oudated)..

    http://www.speech.cs.cmu.edu/sphinx/tutorial.html

    ..on a Windows platform. I've had to modify some Perl scripts in order to get
    proper filepaths. Anyhow, I've managed to get to the "preliminary training
    run" part, but the whole thing hangs when it reaches MODULE 99. Console output
    is as follows..

    MODULE: 90 deleted interpolation
    Skipped for continuous models
    MODULE: 99 Convert to Sphinx2 format models
    Can not create models used by Sphinx-II.
    If you intend to create models to use with Sphinx-II models, please rerun
    with:
    $ST::CFG_HMM_TYPE = '.semi.' or $ST::CFG_HMM_TYPE = '.cont' and
    $ST::CFG_FEATURE = '1s_12c_12d_3p_12dd' and $ST::CFG_STATESPERHMM = '5'

    Any idea? I've made no modifications to the project configuration, just want
    to make it run first so I can learn how the whole thing works..

    J.

     
  • Nickolay V. Shmyrev

    No, this is not a critical error. This is not an error at all.

    Please use recent tutorial

    http://cmusphinx.sourceforge.net/wiki/tutorialam

    Please also use recent SphinxTrain, it has no stage 99.

     
  • jey

    jey - 2010-10-19

    Much more easier to setup! But it still has MODULE 99.. I've followed every
    and each step from your tutorial, downloaded the "recomended lastest releases"
    from its "download page" link. I've had no need to modify anything so far..
    but I'm still getting stuck in the same point, the ouput error is exactly the
    same as before..

    Should I ignore this and move forward?

    Thanks!

    J.

     
  • jey

    jey - 2010-10-19

    Just in case, I must say I'm doing the "./scripts_pl/RunAll.pl" but not the
    subsequent..

    perl scripts_pl/00.verify/verify_all.pl
    perl scripts_pl/10.vector_quantize/slave.VQ.pl
    perl scripts_pl/20.ci_hmm/slave_convg.pl
    perl scripts_pl/30.cd_hmm_untied/slave_convg.pl
    perl scripts_pl/40.buildtrees/slave.treebuilder.pl
    perl scripts_pl/45.prunetree/slave-state-tying.pl
    perl scripts_pl/50.cd_hmm_tied/slave_convg.pl
    perl scripts_pl/90.deleted_interpolation/deleted_interpolation.pl

    .. cause I assume RunAll.pl does exactly that..

    J.

     
  • Nickolay V. Shmyrev

    Should I ignore this and move forward? Thanks! J

    You can ignore and move forward. For the future please avoid asking such
    questions here, we aren't supposed to explain you how to use spoon when you
    eat.

     
  • jey

    jey - 2010-10-19

    For the future please avoid asking such questions here, we aren't supposed
    to explain you how to use spoon when you eat.

    Yes, so true.. why should I bother to ask anything about such a <sarcasm>
    straightforward and perfectly documented</sarcasm> tool Sphinx is.. no,
    sincerely, I don't see your point here.. if not here, where should I ask?
    That's what "help forums" are all about..

    J.

     
  • jey

    jey - 2010-10-19

    So I've moved forward. Next step is decoding, so I run the script

    ./scripts_pl/decode/slave.pl

    for which I get this output

    Can't open
    /cygdrive/c/Users/jpozo/Desktop/sphinx_new/tutorial/an4/result/an4-1-1.match

    Now, what part of the eating process am I missing now?

    Thanks for your patience..

    J.

     
  • Nickolay V. Shmyrev

    You need to setup the decoder - run setup_sphinx.pl script in pocketsphinx.
    Also you need to make sure that pocketshinx_batch or sphinx3_decode are
    present in bin folder and runnable. Sometimes you also need to copy
    sphinxbase.dll in bin folder because otherwise pocketsphinx_batch will not
    run.

     
  • jey

    jey - 2010-10-19

    You need to setup the decoder - run setup_sphinx.pl script in pocketsphinx.

    That's the first things I did, following your tutorial.

    Also you need to make sure that pocketshinx_batch or sphinx3_decode are
    present in bin folder and runnable.

    pocketsphinx_batch is, sphinx3_decode is not.

    Sometimes you also need to copy sphinxbase.dll in bin folder because
    otherwise pocketsphinx_batch will not run

    I've done so, although the exe seems to be ok. It doesn't crash if I run it,
    but no output is presented..

    As seen in other cases around the forum, the file "logdir\decode\an4-1-log" is
    empty except for a line stating current time.

    Thanks again.

    J.

     
  • Nickolay V. Shmyrev

    If decoder doesn't produce any output it means it fails to link with
    sphinxbase. You need to check the configuration of your dynamic linker. You
    also need to check the avaiability of sphinxbase library.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.