Menu

missing files in Sphinxtrain

Help
kris
2007-02-06
2012-09-22
  • kris

    kris - 2007-02-06

    Hello.. I follwed the instructions for training the Sphinx 3 system in this site : http://www.speech.cs.cmu.edu/sphinx/tutorial.html..

    I used an4..

    When i was about to perform the preliminary run an error occurred. here is what it said..

    Can't locate C:/Documents and Settings/..../tutorial/an4/scripts_pl/util/utils.pl in @INC (@INC contains: C:/Pr
    ogram Files/Perl/site/lib C:/Program Files/Perl/lib .) at etc/sphinx_decode.cfg
    line 23.

    Compilation failed in require at scripts_pl/decode/slave.pl line 52.

    i checked the SphinxTrain and an4 directories but i cant locate the file utils.pl..

    where could i find this missing file? thank you.
    your help is appreciated..

     
    • baris.ulucinar

      baris.ulucinar - 2007-02-19

      Hello!

      I have the same mini problem.

      Someone said: "Sphinx3 is out of sync with the SphinxTrain.. the utils.pl .. replaced with
      SphinxTrain::Util module..."

      Then how to use it ?
      include it ?

      Thank you for your help.

      Baris;

       
    • Nickolay V. Shmyrev

      What versions are you running exactly? Are you using sphinx3 from release and sphinxtrain from svn? There is no utils.pl recently, it was removed. What are contents of the file sphinx_decode.cfg around line 23?

       
    • kris

      kris - 2007-02-08

      im using sphinx 3 from release (0.3.6) and sphinxtrain nightly build from the cmusphinx site..

      line 23 --->> require "$DEC_CFG_SCRIPT_DIR/util/utils.pl" ;

      ive read from a thread that a comment be put in this line. i did comment this line and it worked..what was is utils.pl?

      thanx for the reply

       
    • David Huggins-Daines

      Yes, this is a problem with the Sphinx 3 release being out of sync with the SphinxTrain release. utils.pl was an old Perl library that was formerly in SphinxTrain. It has been replaced by the SphinxTrain::Util module.

       
    • kris

      kris - 2007-02-09

      ahh.. thank you for the information.. i opened the file(Util.pm) and i didnt figure out what it does..

      do i need to specify Util.pm in the sphinx_decode.cfg file?

      i have another problem, when i run perl scripts_pl/decode/slave.pl i get this error msg:
      unabled to find default configuration file, use -cfg file.cfg or create etc/sphinx_decode.cfg for default..

       i am not familiar with perl scripting so i am having a difficult time tracing errors.. what could my error be? thank you very much..
      
       
      • Nickolay V. Shmyrev

        I suggest you to install sphinx3 from nighty build as well since you are using nightly sphinxtrain, release and nighty build are really not compatible.

         
    • kris

      kris - 2007-02-10

      i see.. thank you.. but what should i use if i want to train acoustic models for sphinx 3 release? is there any SphinxTrain release version available?

       
      • Nickolay V. Shmyrev

        I may be wrong but I thought models are compatible. At least I was able to use my models on released sphinx

         
    • kris

      kris - 2007-02-10

      what did you use to train those models for the released sphinx? thanx..

      i tried rebuilding the sphinx 3 nightly build just now and i got plenty of fatal errors..
      there seems to be many missing files in the include directory..

      i downloaded the nightlybuild from this site:
      http://cmusphinx.sourceforge.net/html/download.php#sphinx3

      what is the difference between the release and nightly build versions? thank you..

       
      • David Huggins-Daines

        The nightly build requires SphinxBase - you need to build and install it first, then build Sphinx3.

        The acoustic model files are definitely compatible between SphinxTrain and any version of Sphinx3, though, so there isn't a great need to use the nightly build.

        The problem is just that the decoding script that comes with Sphinx3 references an old version of SphinxTrain. You could just copy the script from the nightly build into your acoustic model's scripts_pl directory and use that.

         
    • kris

      kris - 2007-02-13

      i see. thank you for the information. i will not use the sphinx3 nightly build so i would not have to build and install SphinxBase..

      ---> You could just copy the script from the nightly build into your acoustic model's scripts_pl directory and use that.

       I should :
          copy the scripts from the sphinx 3 nightly build into the acoustic model's scripts_pl          
          directory?
      
        thanx..
      
       

Log in to post a comment.