Current configuration: [NAME][DEFLT][VALUE]
-alpha 0.97 9.700000e-001
-argfile en-us/feat.params
-blocksize 2048 2048
-build_outdirs yes yes
-c
-cep2spec no no
-di
-dither no no
-do
-doublebw no no
-ei
-eo
-example no no
-frate 100 100
-help no no
-i
-input_endian little little
-lifter 0 0
-logspec no no
-lowerf 133.33334 1.333333e+002
-mach_endian little little
-mswav no no
-ncep 13 13
-nchans 1 1
-nfft 512 512
-nfilt 40 40
-nist no no
-npart 0 0
-nskip 0 0
-o
-ofmt sphinx sphinx
-part 0 0
-raw no no
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-runlen -1 -1
-samprate 16000 1.600000e+004
-seed -1 -1
-smoothspec no no
-spec2cep no no
-sph2pipe no no
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+003
-vad_postspeech 50 50
-vad_prespeech 10 10
-vad_threshold 2.0 2.000000e+000
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-whichchan 0 0
-wlen 0.025625 2.562500e-002
ERROR: "cmd_ln.c", line 793: Cannot open configuration file en-us/feat.params for reading
ERROR: "sphinx_fe.c", line 1104: Command line parsing failed
What am i doing wrong?
i have my recordings, transcription, fileids (mentioned in the tutorial) in a separate directory. I am running this command from CMUsphinx/sphinxbase/bin/debug
i have checked that feat file as well. it is there in the folder.
I am using windows 10.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Aftab Sometimes Nikolay can be very cryptic, but I guess it is for a reason. Spoon-feeding does not help anybody in the long run and nobody has the time for that. You need to do your homework. Blindly folowing the tutorial without understanding what is being done would not help. Your command line argument gives a different control file name (artic20.fileids) which is from the tutorial, whereas the control file you have has a different name (recordings.fileids). You just copied the commandline code from the tutorial and expect it to work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
http://cmusphinx.sourceforge.net/wiki/tutorialadapt
I am following this tutorial and i am stuck at generating acoustic feature files part. whenever i try to run
sphinx_fe -argfile en-us/feat.params \
-samprate 16000 -c arctic20.fileids \
-di . -do . -ei wav -eo mfc -mswav yes
it gives
INFO: cmd_ln.c(697): Parsing command line:
sphinx_fe \
-argfile en-us/feat.params
Current configuration:
[NAME] [DEFLT] [VALUE]
-alpha 0.97 9.700000e-001
-argfile en-us/feat.params
-blocksize 2048 2048
-build_outdirs yes yes
-c
-cep2spec no no
-di
-dither no no
-do
-doublebw no no
-ei
-eo
-example no no
-frate 100 100
-help no no
-i
-input_endian little little
-lifter 0 0
-logspec no no
-lowerf 133.33334 1.333333e+002
-mach_endian little little
-mswav no no
-ncep 13 13
-nchans 1 1
-nfft 512 512
-nfilt 40 40
-nist no no
-npart 0 0
-nskip 0 0
-o
-ofmt sphinx sphinx
-part 0 0
-raw no no
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-runlen -1 -1
-samprate 16000 1.600000e+004
-seed -1 -1
-smoothspec no no
-spec2cep no no
-sph2pipe no no
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+003
-vad_postspeech 50 50
-vad_prespeech 10 10
-vad_threshold 2.0 2.000000e+000
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-whichchan 0 0
-wlen 0.025625 2.562500e-002
ERROR: "cmd_ln.c", line 793: Cannot open configuration file en-us/feat.params for reading
ERROR: "sphinx_fe.c", line 1104: Command line parsing failed
What am i doing wrong?
i have my recordings, transcription, fileids (mentioned in the tutorial) in a separate directory. I am running this command from CMUsphinx/sphinxbase/bin/debug
i have checked that feat file as well. it is there in the folder.
I am using windows 10.
You need to specify a path to the file as an argument to -argfile. If you are not sure what relative path is you can specify absolute path.
Thank you for the quick reply. That solved my problem but now its giving me this error.
ERROR: "sphinx_fe.c", line 1023: Failed to open control file recordings.fileids: No such file or directory
I have the file in the same directory. what am i doing wrong?
If computer says you that there is no such file you need to trust it and verify yourself.
i think i made my file the wrong way. is there any special way to make these fileids file or just the notepad is fine?
these are my files right now. Any help will be appreciated.
Hi,
Just to note, am also new to Sphinx but I think you can get more information on how to create fileids files here:
http://cmusphinx.sourceforge.net/wiki/tutorialam
@Aftab Sometimes Nikolay can be very cryptic, but I guess it is for a reason. Spoon-feeding does not help anybody in the long run and nobody has the time for that. You need to do your homework. Blindly folowing the tutorial without understanding what is being done would not help. Your command line argument gives a different control file name (artic20.fileids) which is from the tutorial, whereas the control file you have has a different name (recordings.fileids). You just copied the commandline code from the tutorial and expect it to work.