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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
i've tried creating acoustic model using both command line tools and perl scripts. I got following errors.
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.
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...
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
Frate should divide the number of frames. Convert your files to 16000 and use defaults if you aren't familiar with extraction code.
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
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.