Menu

Question about norm

Help
2012-04-03
2012-09-22
  • NGUYEN Hong Quang

    Hello, I'm just a beginner of Sphinx. I'm trying to run Sphinx on Windows XP:
    - I've installed Cygwin.
    - I use the binary version of Sphinx for Windows.
    When I try to train acoustic model of RM1, I've had an error of norm:
    - test> perl ../sphinxtrain/scripts_pl/setup_SphinxTrain.pl -task rm1
    - I copied the contents of etc/ and feat/ of rm1_cepstra.tar.gz to etc/ and feat/ created by setup_SphinxTrain.pl
    - test> perl scripts_pl/RunAll.pl
    But there is an error:
    Phase 2: Flat initialize
    FATAL: "init_gau.c", line 155: Unable to open E:\Sphinx_test\rm1\model_param
    s\rm1.ci_cont_flatinitial\globalmean for reading
    Something failed: (E:/Sphinx_test/rm1/scripts_pl/20.ci_hmm/slave_convg.pl)

    I verified the globalmean file but it isn't created.

    When I saw in the norm log file:
    INFO: cmd_ln.c(559): Parsing command line:
    E:\Sphinx_test\rm1\bin\norm.exe \
    -accumdir E:/Sphinx_test/rm1/bwaccumdir/rm1_buff_1 \
    -meanfn E:\Sphinx_test\rm1\model_parameters\rm1.ci_cont_flatinitial\globalmean

    Current configuration:

    -accumdir E:/Sphinx_test/rm1/bwaccumdir/rm1_buff_1,
    -constE 3.0 3.000000e+000
    -dcountfn
    -example no no
    -fullvar no no
    -help no no
    -inmeanfn
    -inmixwfn
    -invarfn
    -meanfn E:\Sphinx_test\rm1\model_parameters\rm1.ci_cont_flatinitial\globalmean
    -mixwfn
    -mmie no no
    -oaccumdir
    -regmatfn
    -tiedvar no no
    -tmatfn
    -varfn

    INFO: main.c(163): No -mixwfn specified, will skip if any
    INFO: main.c(166): No -tmatfn specified, will skip if any
    INFO: main.c(172): No -varfn specified, will skip if any
    INFO: main.c(225): Reading and accumulating counts from
    E:/Sphinx_test/rm1/bwaccumdir/rm1_buff_1
    Tue Apr 3 16:54:30 2012

    Thanks,

     
  • Nickolay V. Shmyrev

    There was error on previous stages. You need to check all the logs, not just
    the last one. The binaries might crash, so it's recommended to recompile
    binaries from source using Visual Studio 2010.

     
  • NGUYEN Hong Quang

    I recompile it in Visual Studio 2010 and it's OK.
    Thank you very much.

     

Log in to post a comment.