Menu

errors in sphinxtrain

Help
shani2004
2007-12-19
2012-09-22
  • shani2004

    shani2004 - 2007-12-19

    hi,

    i've tried creating acoustic model using both command line tools and perl scripts. I got following errors.

    1. through script -
      ERROR: "corpus.c", line 1643: MFCC read failed. Retrying after sleep...
      stat_retry(/media/disk-1/ST/feat/time001
      .mfc) failed

    size of mfc file is 260004 bytes. it was created in sphinx 4 ant tool (ant -Dinput="...)

    i used another mfc using same wav file using wave2feat and used but same error. its size was 141184 bytes.

    1. if i use command line tools i get segmentation problem while running bw tool and a warning

    bin/bw -moddeffn "etc/time.mdef" -ts2cbfn .cont. -mixwfn "etc/time.mixw" -tmatfn "etc/time.tmat" -meanfn "etc/time.initmean" -varfn "etc/time.initvar" -mwfloor 0.01 -tpfloor 0.1 -varfloor 0.01 -topn 4 -dictfn "etc/time.dic" -fdictfn "etc/time.filler" -ctlfn "etc/time.ctl" -nskip 0 -runlen 2 -part 1 -npart 1 -cepext mfc -accumdir "etc" -ceplen 13 -2passvar yes

    INFO: mod_inv.c(297): inserting tprob floor 1.000000e-01 and renormalizing
    .
    .
    .
    INFO: gauden.c(98): min_var=1.000000e-02
    WARNING: "mod_inv.c", line 257: n_top 4 > n_density 1. n_top <- 1
    INFO: gauden.c(170): compute 1 .
    .
    .
    INFO: lexicon.c(233): 2 entries added from etc/time.filler
    INFO: main.c(421): Silence Tag SIL
    Segmentation fault

    kindly help...

     
    • shani2004

      shani2004 - 2007-12-19

      i'm sorry to disturb but i'm finding this error in make_feats.pl ----

      bin/wave2feat \ -verbose yes \ -alpha 0.97 \ -dither yes \ -doublebw no \ -nfilt 40 \ -ncep 13 \ -lowerf 133.33334 \ -upperf 6855.4976 \ -nfft 2048 \ -srate 44100 \ -mswav yes \ -nist no \ -frate 900 \ -wlen 0.0256 \ -c etc/time.fileids \ -raw yes \ -di wav \ -ei wav \ -do /media/disk/ST/feat \ -eo mfc

      [Switch] [Default] [Value]
      -help no no
      -example no no
      -i
      -o
      -c etc/time.fileids
      -nskip
      -runlen
      -di wav
      -ei wav
      -do /media/disk/ST/feat
      -eo mfc
      -nist no no
      -raw no no
      -mswav no yes
      -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 4.410000e+04
      -frate 100 900
      -wlen 0.025625 2.560000e-02
      -nfft 512 2048
      -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 yes yes
      -seed -1 -1
      -verbose no yes
      INFO: fe_interface.c(100): You are using the internal mechanism to generate the seed.
      INFO: fe_sigproc.c(752): Current FE Parameters:
      INFO: fe_sigproc.c(753): Sampling Rate: 44100.000000
      INFO: fe_sigproc.c(754): Frame Size: 1129
      INFO: fe_sigproc.c(755): Frame Shift: 49
      INFO: fe_sigproc.c(756): FFT Size: 2048
      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(763): Will add dither to audio
      INFO: fe_sigproc.c(764): Dither seeded with -1
      INFO: fe_sigproc.c(771): Will not use double bandwidth in mel filter
      INFO: wave2feat.c(139): wav/time001.wav
      LENGTH: 4
      INFO: wave2feat.c(786): Reading MS Wav file wav/time001.wav:
      INFO: wave2feat.c(787): 16 bit PCM data, 2 channels 800000 samples
      INFO: wave2feat.c(788): Sampled at 44100
      ERROR: "wave2feat.c", line 917: unknown input file format
      ERROR: "wave2feat.c", line 163: error reading speech data
      FATAL_ERROR: "wave2feat.c", line 90: error converting files...exiting

       
      • Nickolay V. Shmyrev

        Frate should divide the number of frames. Convert your files to 16000 and use defaults if you aren't familiar with extraction code.

         
    • shani2004

      shani2004 - 2007-12-19

      i want to add that all the prior steps run without any warning or error in both cases.
      I faced MFCC read failed error while using command line executable init_gau but later it cleared when i used -runlen and -nskip tags

       
    • Nickolay V. Shmyrev

      Let's first solve the issue with feature files. They must be created with

      ./scripts_pl/make_feats.pl -ctl etc/<your_ctl_file>.fileids

      Do not use sphinx4. Check that files are created properly instead. The rest depends on previous steps you skipped. And please follow the main script RunAll.pl, do not launch commands directly if you don't know what you are doing.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.