Menu

problem make_feats not create mfc

Help
sainttail
2011-08-29
2012-09-22
  • sainttail

    sainttail - 2011-08-29

    Hello, everyone
    First thank to Mr.nshmyrev for your suggestion.So I can manage to make
    sphinxtrain

    Then I follow the tutorial from http://cmusphinx.sourceforge.net/wiki/tutoria
    lam

    Now I have all file that need to be train so, I start to

    ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl -task chessmodel
    ../pocketsphinx/scripts/setup_sphinx.pl -task chessmodel
    

    It goes with no problem.

    However, when in make_feats, the process run and look like this

    Gezella@Gezella-PC /cygdrive/d/voiceproject/sphinx/chessmodel
    $ ./scripts_pl/000.comp_feat/make_feats.pl -ctl etc/chessmodel_train.fileids
    Extracting  segments starting at  (part -ctl of etc/chessmodel_train.fileids)
    
    Gezella@Gezella-PC /cygdrive/d/voiceproject/sphinx/chessmodel
    

    the log show Extracting segments starting at (part -ctl of
    etc/chessmodel_train.fileids)
    and that's it. Then suddenly show input for next command.

    Therefore, I check the file in feat but It is nothing in there.
    However, I type verify_all to check and it give this log

    $ ./scripts_pl/00.verify/verify_all.pl
    MODULE: 00 verify training files
    O.S. is case insensitive ("A" == "a").
    Phones will be treated as case insensitive.
        Phase 1: DICT - Checking to see if the dict and filler dict agrees with the
    phonelist file.
            Found 25 words using 26 phones
        Phase 2: DICT - Checking to make sure there are not duplicate entries in the
     dictionary
        Phase 3: CTL - Check general format; utterance length (must be positive); fi
    les exist
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0001.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0002.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0003.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0004.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0005.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0006.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0007.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0008.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0009.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0010.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0011.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0012.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0013.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0014.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0015.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0016.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0017.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0018.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0019.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0020.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0021.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0022.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0023.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0024.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0025.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0026.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0027.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0028.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0029.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0030.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0031.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0032.mfc, doe
    s not exist, or is empty
    WARNING: CTL file, /cygdrive/d/voiceproject/sphinx/chessmodel/feat/0033.mfc, doe
    s not exist, or is empty
        Phase 4: CTL - Checking number of lines in the transcript should match lines
     in control file
        Phase 5: CTL - Determine amount of training data, see if n_tied_states seems
     reasonable.
            Estimated Total Hours Training: -7.05128205128205e-06
            This is a small amount of data, no comment at this time
        Phase 6: TRANSCRIPT - Checking that all the words in the transcript are in t
    he dictionary
            Words in dictionary: 22
            Words in filler dictionary: 3
        Phase 7: TRANSCRIPT - Checking that all the phones in the transcript are in
    the phonelist, and all phones in the phonelist appear at least once
    

    Say that no mfc files were generated.

    So I try to make_feats on an4 but it gives the same result.

    Anyway to fix this?

    Thank you in advance for your suggenstion
    and sorry for my poor english grammar.

     
  • Nickolay V. Shmyrev

    Copy sphinx_fe.exe to bin subfolder. Don't forget sphinxbase.dll and
    pocketsphinx.dll.

     
  • sainttail

    sainttail - 2011-08-29

    Hello, nshmyrev
    thank for fast reply

    I follow your instruction but I can't find where the file sphinxbase.dll and
    pocketsphinx.dll are located.
    However, I use MS VisualStudio 2010 to build both pocketsphinx and sphinxbase
    then I have to get sphinx.dll and pocketsphinx.dll file from bin/debug is it
    correct? and copy sphinx_fe from sphinxbase/src/ and copy the .exe file in
    there to bin of my database

    but It is still the same result.
    Am I missing some important part?

     
  • sainttail

    sainttail - 2011-08-29

    This is my data that I prepare to train http://www.4shared.com/file/kRNID0e8/
    chessmodel.html

    Is there have something wrong?

    Thank you

     
  • sainttail

    sainttail - 2011-08-30

    Anyway, I try to use sphinx_fe.exe from /usr/local/bin

    then I proceed with the same command. It provides with a little more further
    information

    Gezella@Gezella-PC /cygdrive/d/voiceproject/sphinx/chess2
    $ ./scripts_pl/000.comp_feat/make_feats.pl -ctl etc/chess2_train.fileids
    Extracting  segments starting at  (part -ctl of etc/chess2_train.fileids)
    This step had 2 ERROR messages and 0 WARNING messages.  Please check the log fil
    e for details.
    
    Gezella@Gezella-PC /cygdrive/d/voiceproject/sphinx/chess2
    

    Have any ideas to solve this?

     
  • Nickolay V. Shmyrev

    Have any ideas to solve this?

    It says you Please check log file for details

     
  • sainttail

    sainttail - 2011-08-30

    I check the log file that is generate in .html file and it saids

    Training chess2 on Gezella-PC

    Extracting segments starting at (part -ctl of etc/chess2_train.fileids)

    sphinx_fe Log File <<< (link)
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log
    file for details.
    completed

    so I click that link to log file but It's not there.
    It links to logdir folder so I try to look inside it but It's empty.

     
  • Nickolay V. Shmyrev

    Ok, I see

    You are trying to run the feature extraction as

    ./scripts_pl/000.comp_feat/make_feats.pl -ctl etc/chess2_train.fileids

    You need to run it as

    ./scripts_pl/000.comp_feat/slave_feat.pl

     
  • sainttail

    sainttail - 2011-08-30

    ok I have manage to find the problem. Thank you very much.
    in log file It said that sphinx_fe.c can't open my .wav file so that means
    sphinx_fe work correctly and I need to record .wav again right?

    the previous .wav file I recorded it by using notebook microphone with adobe
    audition 1.5 sample rate 16000 mono and 16bit res.

    Have any suggestion for tool in recording .wav files?

     
  • Nickolay V. Shmyrev

    Please be as specific as possible when you ask questions. If you ask about the
    log file contents provide the log file.

     
  • sainttail

    sainttail - 2011-08-30

    Thank you very much I have manage to train the model.

     

Log in to post a comment.