Menu

setup_sphinxtrain.pl fail

Help
Вадим
2011-11-22
2012-09-22
  • Вадим

    Вадим - 2011-11-22

    Hello!
    (i posted some hours ago to the sphinx4 help forum, i had problems with
    mk_mdef_gen.exe and norm.exe appcrash)
    I have a problem training my acoustic model (i train on windows)
    when i write

    perl ../sphinxtrain/setup_sphinx.pl -task rbot

    it says

    C:\COMPANIES\RBOT\2011\CMU_SPHINX\CMU_Spinx_Wiki\contents\4_Acoustic_Model\TEST4
    \rbot>perl ../sphinxtrain/scripts_pl/setup_sphinxtrain.pl -task rbot
    Current directory not empty.
    Will leave existing files as they are, and copy non-existing files.
    Making basic directory structure
    Installing ../sphinxtrain/scripts_pl/setup_sphinxtrain.pl/etc/feat.params to etc
    /feat.params
    ../sphinxtrain/scripts_pl/setup_sphinxtrain.pl/python/build/lib => python
    Generating SphinxTrain configuration file in etc/sphinx_train.cfg
    Can't open etc/sphinx_train.template or ../sphinxtrain/scripts_pl/setup_sphinxtr
    ain.pl/etc/sphinx_train.cfg
    

    the sphinxtrain binaries i've buld from snapshot in vb2010, as nsh suggested.
    any help please.

     
  • Nickolay V. Shmyrev

    From trunk you only need binaries. Everything else in tutorial is about
    released version 1.0.7. You also need to copy sphinxbase.dll into bin folder,
    don't forget about that.

     
  • Вадим

    Вадим - 2011-11-22

    As i understood, i need the snapshot of sphinxbase, sphinxtrain and
    pocketsphinx, with binaries, downloaded from trunk "...win32.zip" for each
    package - in the "bin" folders of each package, withs sphinxbase.dll included
    in every bin folder?

     
  • Nickolay V. Shmyrev

    As i understood, i need the snapshot of sphinxbase, sphinxtrain and
    pocketsphinx, with binaries, downloaded from trunk "...win32.zip" for each
    package - in the "bin" folders of each package, withs sphinxbase.dll included
    in every bin folder?

    1. Download _win32 packages from Files section on sourceforge
    2. Download trunk shapshots from Downloads page
    3. Compile trunk versions, save compiled binaries
    4. Unpack _win32 packages and replace binaries inside with binaries compiled from snapshot
    5. Proceed with the tutorial
    6. When setup script will copy binaries, copy sphinxbase.dll too
     
  • Вадим

    Вадим - 2011-11-22

    sorry for misunderstanding..
    after i compiled snapshots, i have folder bin/debug with binaries and libs, in
    each package
    in _win32 packages i have binaries and sphinxbase.dll in each (sphinxbase,
    pocketsphinx, sphintrain)
    in point 3 i dont understand where to save the compiled binaries, in point 4 -
    it seems like this: i download for example sphinxbase_0.7win32.zip, unzip it
    to a folder, for example, sphinxbase_bin:

    sphinx_cepview.exe
    sphinx_fe.exe
    sphinx_jsgf2fsg.exe
    sphinx_lm_convert.exe
    sphinx_pitch.exe
    sphinxbase.dll
    

    download snapshot of sphinxbase, compile it and have a folder
    sphinxbase/bin/Debug with mentioned above binaries and some libs;

    and now i need to copy binaries from sphinxbase/bin/Debug to
    sphinxbase_bin/bin?

    if that, why i need to download _win32 if everything inside will be just
    replaced with snapshot bin's?
    sorry for being too misunderstanding and thank you for your reply

     
  • Nickolay V. Shmyrev

    and now i need to copy binaries from sphinxbase/bin/Debug to
    sphinxbase_bin/bin?

    Yes

    In short, you need binaries from snapshot and scripts from release.

    if that, why i need to download _win32 if everything inside will be just
    replaced with snapshot bin's?

    Because of scripts_pl

     
  • Вадим

    Вадим - 2011-11-23

    But the _win32 packages only have some binaries and dll-s - no scripts or
    anything else - maybe you mean _src archives? Or the _win32 zips must have
    scripts inside and i'm doing something wrong?..

     
  • Nickolay V. Shmyrev

    • maybe you mean _src archives?

    Maybe

     
  • Вадим

    Вадим - 2011-11-24

    thx Nickolay, the problem of this topic has been solved, but now i still have
    problems with init_gau.exe and mk_mdef_gen.exe which occur an appcrash exit,
    ant the training fails, i will create a new topic and provide all the logs
    needed

     

Log in to post a comment.