Menu

Compiling problems on Sphinx3

Help
Anonymous
2006-10-20
2012-09-22
  • Anonymous

    Anonymous - 2006-10-20

    My background with linux is purely from a programmer's perspective, a little maintanence, and the occasional CPAN module. So this may be an aggressive first project, but it is something I'm desperate to try my hand at.

    I've installed a clean copy of the most recent Ubuntu version (6.06). If there would be less hassle with Fedora or something else, I'm completely open. I just hadn't tried Ubuntu and thought I'd give it a whirl.

    I'm following the instructions on http://www.speech.cs.cmu.edu/sphinx/tutorial.html
    and as I work pretty exclusively with perl, I was going with Sphinx3. I have tried:

    Sphinx3 and SPHINX-3 Flat Decoder
    AN4 and RM1
    and all 4 combinations.

    I have tried that with and without first installing sphinxbase. Unfortunately I did not keep all the errors, so I only have the most recent, using RM1 and Sphinx3 flat.

    The last successfully executed command is:

    perl ./scripts/setup_tutorial.pl rm1

    OUTPUT:
    Building task rm1
    Current directory not empty.
    Will overwrite existing files.
    Making basic directory structure.
    Copying executables from /home/nlloyd/rm_tutorial/s3flat/bin/linux
    Copying scripts from the scripts directory
    Generating s3flat specific scripts and config file
    Set up for decoding rm1 using Sphinx-3 complete

    Now, please do:
    cd ../rm1
    perl scripts_pl/make_feats.pl -ctl etc/rm1_test.fileids (if needed)
    perl scripts_pl/decode/slave.pl

    I follow those instructions.

    OUTPUT of perl scripts_pl/make_feats.pl -ctl etc/rm1_test.fileids

    -cfg not specified, using the default ./etc/sphinx_train.cfg
    bin/wave2feat \
    -verbose yes \
    -c etc/rm1_test.fileids \
    -nist yes \
    -di wav \
    -ei sph \
    -do /home/nlloyd/rm_tutorial/rm1/feat \
    -eo mfc

    [Switch] [Default] [Value]
    -help no no
    -example no no
    -i
    -o
    -c etc/rm1_test.fileids
    -nskip
    -runlen
    -di wav
    -ei sph
    -do /home/nlloyd/rm_tutorial/rm1/feat
    -eo mfc
    -nist no yes
    -raw no no
    -mswav no no
    -input_endian little little
    -nchans 1 1
    -whichchan 1 1
    -logspec no no
    -feat sphinx sphinx
    -mach_endian little little
    -alpha 0.97 9.700000e-01
    -srate 16000.0 1.600000e+04
    -frate 100 100
    -wlen 0.025625 2.562500e-02
    -nfft 512 512
    -nfilt 40 40
    -lowerf 133.33334 1.333333e+02
    -upperf 6855.4976 6.855498e+03
    -ncep 13 13
    -doublebw no no
    -warp_type inverse_linear inverse_linear
    -warp_params
    -blocksize 200000 200000
    -dither no no
    -seed -1 -1
    -verbose no yes
    INFO: fe_sigproc.c(752): Current FE Parameters:
    INFO: fe_sigproc.c(753): Sampling Rate: 16000.000000
    INFO: fe_sigproc.c(754): Frame Size: 410
    INFO: fe_sigproc.c(755): Frame Shift: 160
    INFO: fe_sigproc.c(756): FFT Size: 512
    INFO: fe_sigproc.c(757): Lower Frequency: 133.333
    INFO: fe_sigproc.c(758): Upper Frequency: 6855.5
    INFO: fe_sigproc.c(759): Number of filters: 40
    INFO: fe_sigproc.c(760): Number of Overflow Samps: 0
    INFO: fe_sigproc.c(761): Start Utt Status: 0
    INFO: fe_sigproc.c(766): Will not add dither to audio
    INFO: fe_sigproc.c(771): Will not use double bandwidth in mel filter
    INFO: wave2feat.c(139): wav/dlm0_7/st0546.sph
    ERROR: "wave2feat.c", line 655: Cannot read wav/dlm0_7/st0546.sph
    FATAL_ERROR: "wave2feat.c", line 90: error converting files...exiting

    I get something similar with Sphinx3 (non-flat one), but using AN4 I get errors on the corresponding scripts related to a missing /util/utils.pm

    Any help would be greatly appreciated. Heck, I'd be willing to stop by CMU on a Saturday to talk to someone...

    Thanks,
    Nathan

     
    • The Grand Janitor

      >Cannot read wav/dlm0_7/st0546.sph

      This is likely the reason. Would you check whether it is a path issue?

      I also forward this mail to the maintainer of the tutorial. We will try out best to help out.

      -tgj

       
      • Anonymous

        Anonymous - 2006-10-20

        Thanks for your quick reply. It's too late for me to do anything else tonight, but out of curiousity, what version of linxu do most of the developers use?

         
        • The Grand Janitor

          Mainly redhat, although I also see working system in ubuntsu. -a

           
          • Vero

            Vero - 2006-10-20

            hi, i use the last release of sphinx3 without shinxbase and AN4 with the tutorial, it works fine.
            download it in http://sourceforge.net/project/showfiles.php?group_id=1904&package_id=68406
            "shinx3-0.6.3"
            i hope this help you
            bye.

             

Log in to post a comment.