Menu

Adapt acoustic model error: Bad argument value for -nfilt

Help
2019-06-01
2019-06-01
  • Le Gia Anh Quy

    Le Gia Anh Quy - 2019-06-01

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -alpha 0.97 9.700000e-01
    -argfile vi/feat.params
    -blocksize 2048 2048
    -build_outdirs yes yes
    -c vivosadp.fileids
    -cep2spec no no
    -di .
    -dither no no
    -do .
    -doublebw no no
    -ei wav
    -eo mfc
    -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+02
    -mach_endian little little
    -mswav no yes
    -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+04
    -seed -1 -1
    -smoothspec no no
    -spec2cep no no
    -sph2pipe no no
    -transform legacy legacy
    -unit_area yes yes
    -upperf 6855.4976 6.855498e+03
    -vad_postspeech 50 50
    -vad_prespeech 20 20
    -vad_startspeech 10 10
    -vad_threshold 2.0 2.000000e+00
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -whichchan 0 0
    -wlen 0.025625 2.562500e-02

    Arguments list definition:
    [NAME] [DEFLT] [DESCR]
    -alpha 0.97 Preemphasis parameter
    -argfile Argument file (e.g. feat.params from an acoustic model) to read parameters from. This will override anything set in other command line arguments.
    -blocksize 2048 Number of samples to read at a time.
    -build_outdirs yes Create missing subdirectories in output directory
    -c Control file for batch processing
    -cep2spec no Input is cepstral files, output is log spectral files
    -di Input directory, input file names are relative to this, if defined
    -dither no Add 1/2-bit noise
    -do Output directory, output files are relative to this
    -doublebw no Use double bandwidth filters (same center freq)
    -ei Input extension to be applied to all input files
    -eo Output extension to be applied to all output files
    -example no Shows example of how to use the tool
    -frate 100 Frame rate
    -help no Shows the usage of the tool
    -i Single audio input file
    -input_endian little Endianness of input data, big or little, ignored if NIST or MS Wav
    -lifter 0 Length of sin-curve for liftering, or 0 for no liftering.
    -logspec no Write out logspectral files instead of cepstra
    -lowerf 133.33334 Lower edge of filters
    -mach_endian little Endianness of machine, big or little
    -mswav no Defines input format as Microsoft Wav (RIFF)
    -ncep 13 Number of cep coefficients
    -nchans 1 Number of channels of data (interlaced samples assumed)
    -nfft 512 Size of FFT
    -nfilt 40 Number of filter banks
    -nist no Defines input format as NIST sphere
    -npart 0 Number of parts to run in (supersedes -nskip and -runlen if non-zero)
    -nskip 0 If a control file was specified, the number of utterances to skip at the head of the file
    -o Single cepstral output file
    -ofmt sphinx Format of output files - one of sphinx, htk, text.
    -part 0 Index of the part to run (supersedes -nskip and -runlen if non-zero)
    -raw no Defines input format as raw binary data
    -remove_dc no Remove DC offset from each frame
    -remove_noise yes Remove noise with spectral subtraction in mel-energies
    -remove_silence yes Enables VAD, removes silence frames from processing
    -round_filters yes Round mel filter frequencies to DFT points
    -runlen -1 If a control file was specified, the number of utterances to process, or -1 for all
    -samprate 16000 Sampling rate
    -seed -1 Seed for random number generator; if less than zero, pick our own
    -smoothspec no Write out cepstral-smoothed logspectral files
    -spec2cep no Input is log spectral files, output is cepstral files
    -sph2pipe no Input is NIST sphere (possibly with Shorten), use sph2pipe to convert
    -transform legacy Which type of transform to use to calculate cepstra (legacy, dct, or htk)
    -unit_area yes Normalize mel filters to unit area
    -upperf 6855.4976 Upper edge of filters
    -vad_postspeech 50 Num of silence frames to keep after from speech to silence.
    -vad_prespeech 20 Num of speech frames to keep before silence to speech.
    -vad_startspeech 10 Num of speech frames to trigger vad from silence to speech.
    -vad_threshold 2.0 Threshold for decision between noise and silence frames. Log-ratio between signal level and noise level.
    -verbose no Show input filenames
    -warp_params Parameters defining the warping function
    -warp_type inverse_linear Warping function type (or shape)
    -whichchan 0 Channel to process (numbered from 1), or 0 to mix all channels
    -wlen 0.025625 Hamming window length

    ERROR: "cmd_ln.c", line 630: Bad argument value for -nfilt: CFG_NUM_FILT
    ERROR: "cmd_ln.c", line 704: Failed to parse arguments list
    ERROR: "sphinx_fe.c", line 1019: Command line parsing failed

    Can you help me to solve this problem?

     
    • Nickolay V. Shmyrev

      You took wrong feat.params

       
      👍
      1

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.