Menu

using sphinxtrain-08

Help
Alex
2018-04-05
2018-05-04
  • Alex

    Alex - 2018-04-05

    Hi all, i using sphinxtrain-08, pocketphinx-0.8 and sphinxbase-0.8. i have error:

    Sphinxtrain path: /usr/local/lib/sphinxtrain
    Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain
    Running the training
    MODULE: 000 Computing feature from audio files
    Extracting features from segments starting at (part 1 of 1)
    Extracting features from segments starting at (part 1 of 1)
    Feature extraction is done
    MODULE: 00 verify training files
    Phase 1: Checking to see if the dict and filler dict agrees with the phonelist file.
    Found 5 words using 6 phones
    Phase 2: Checking to make sure there are not duplicate entries in the dictionary
    Phase 3: Check general format for the fileids file; utterance length (must be positive); files exist
    Phase 4: Checking number of lines in the transcript file should match lines in fileids file
    Phase 5: Determine amount of training data, see if n_tied_states seems reasonable.
    Estimated Total Hours Training: 0.00329444444444444
    This is a small amount of data, no comment at this time
    Phase 6: Checking that all the words in the transcript are in the dictionary
    Words in dictionary: 2
    Words in filler dictionary: 3
    Phase 7: Checking that all the phones in the transcript are in the phonelist, and all phones in the phonelist appear at least once
    MODULE: 0000 train grapheme-to-phoneme model
    Skipped (set $CFG_G2P_MODEL = 'yes' to enable)
    MODULE: 01 Train LDA transformation
    Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
    MODULE: 02 Train MLLT transformation
    Skipped (set $CFG_LDA_MLLT = 'yes' to enable)
    MODULE: 05 Vector Quantization
    Skipped for continuous models
    MODULE: 10 Training Context Independent models for forced alignment and VTLN
    Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
    Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
    MODULE: 11 Force-aligning transcripts
    Skipped: $ST::CFG_FORCEDALIGN set to 'no' in sphinx_train.cfg
    MODULE: 12 Force-aligning data for VTLN
    Skipped: $ST::CFG_VTLN set to 'no' in sphinx_train.cfg
    MODULE: 20 Training Context Independent models
    Phase 1: Cleaning up directories:
    accumulator...logs...qmanager...models...
    Phase 2: Flat initialize
    Phase 3: Forward-Backward
    Baum welch starting for 1 Gaussian(s), iteration: 1 (1 of 1)
    0%
    This step had 20 ERROR messages and 1 WARNING messages. Please check the log file for details.
    Training failed in iteration 1
    MODULE: 30 Training Context Dependent models
    Phase 1: Cleaning up directories:
    accumulator...logs...qmanager...
    Phase 2: Initialization
    This step had 1 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Phase 3: Forward-Backward
    Baum welch starting for iteration: 1 (1 of 1)
    0%
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Only 0 parts of 1 of Baum Welch were successfully completed
    Parts 1 failed to run!
    Training failed in iteration 1
    MODULE: 40 Build Trees
    Phase 1: Cleaning up old log files...
    Phase 2: Make Questions
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Phase 3: Tree building
    Processing each phone with each state
    D 0
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    D 1
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    D 2
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    AO 0
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    AO 1
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    AO 2
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    NG 0
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    NG 1
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    NG 2
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    M 0
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    M 1
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    M 2
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    OW 0
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    OW 1
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    OW 2
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Skipping SIL
    MODULE: 45 Prune Trees
    Phase 1: Tree Pruning
    This step had 1 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Phase 2: State Tying
    This step had 1 ERROR messages and 0 WARNING messages. Please check the log file for details.
    MODULE: 50 Training Context dependent models
    Phase 1: Cleaning up directories:
    accumulator...logs...qmanager...
    Phase 2: Copy CI to CD initialize
    This step had 1 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Phase 3: Forward-Backward
    Baum welch starting for 1 Gaussian(s), iteration: 1 (1 of 1)
    0%
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Only 0 parts of 1 of Baum Welch were successfully completed
    Parts 1 failed to run!
    Training failed in iteration 1
    MODULE: 60 Lattice Generation
    Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
    MODULE: 61 Lattice Pruning
    Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
    MODULE: 62 Lattice Format Conversion
    Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
    MODULE: 65 MMIE Training
    Skipped: $ST::CFG_MMIE set to 'no' in sphinx_train.cfg
    MODULE: 90 deleted interpolation
    Skipped for continuous models
    MODULE: DECODE Decoding using models previously trained
    Decoding 10 segments starting at 0 (part 1 of 1)
    0%
    This step had 2 ERROR messages and 0 WARNING messages. Please check the log file for details.
    Aligning results to find error rate
    Can't open /home/pi/an4/result/an4-1-1.match
    word_align.pl failed with error code 65280 at /usr/local/lib/sphinxtrain/scripts/decode/slave.pl line 173.
    help me please.
    thanks you verr much.

     
  • Alex

    Alex - 2018-04-05

    and file log decode:
    INFO: cmd_ln.c(691): Parsing command line:
    pocketsphinx_batch \
    -hmm /home/pi/an4/model_parameters/an4.cd_cont_200 \
    -lw 10 \
    -feat 1s_c_d_dd \
    -beam 1e-80 \
    -wbeam 1e-40 \
    -dict /home/pi/an4/etc/an4.dic \
    -lm /home/pi/an4/etc/an4.lm.DMP \
    -wip 0.2 \
    -ctl /home/pi/an4/etc/an4_test.fileids \
    -ctloffset 0 \
    -ctlcount 10 \
    -cepdir /home/pi/an4/feat \
    -cepext .mfc \
    -hyp /home/pi/an4/result/an4-1-1.match \
    -agc none \
    -varnorm no \
    -cmn current

    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -adchdr 0 0
    -adcin no no
    -agc none none
    -agcthresh 2.0 2.000000e+00
    -alpha 0.97 9.700000e-01
    -argfile
    -ascale 20.0 2.000000e+01
    -aw 1 1
    -backtrace no no
    -beam 1e-48 1.000000e-80
    -bestpath yes yes
    -bestpathlw 9.5 9.500000e+00
    -bghist no no
    -build_outdirs yes yes
    -cepdir /home/pi/an4/feat
    -cepext .mfc .mfc
    -ceplen 13 13
    -cmn current current
    -cmninit 8.0 8.0
    -compallsen no no
    -ctl /home/pi/an4/etc/an4_test.fileids
    -ctlcount -1 10
    -ctlincr 1 1
    -ctloffset 0 0
    -ctm
    -debug 0
    -dict /home/pi/an4/etc/an4.dic
    -dictcase no no
    -dither no no
    -doublebw no no
    -ds 1 1
    -fdict
    -feat 1s_c_d_dd 1s_c_d_dd
    -featparams
    -fillprob 1e-8 1.000000e-08
    -frate 100 100
    -fsg
    -fsgctl
    -fsgdir
    -fsgext
    -fsgusealtpron yes yes
    -fsgusefiller yes yes
    -fwdflat yes yes
    -fwdflatbeam 1e-64 1.000000e-64
    -fwdflatefwid 4 4
    -fwdflatlw 8.5 8.500000e+00
    -fwdflatsfwin 25 25
    -fwdflatwbeam 7e-29 7.000000e-29
    -fwdtree yes yes
    -hmm /home/pi/an4/model_parameters/an4.cd_cont_200
    -hyp /home/pi/an4/result/an4-1-1.match
    -hypseg
    -input_endian little little
    -jsgf
    -kdmaxbbi -1 -1
    -kdmaxdepth 0 0
    -kdtree
    -latsize 5000 5000
    -lda
    -ldadim 0 0
    -lextreedump 0 0
    -lifter 0 0
    -lm /home/pi/an4/etc/an4.lm.DMP
    -lmctl
    -lmname default default
    -lmnamectl
    -logbase 1.0001 1.000100e+00
    -logfn
    -logspec no no
    -lowerf 133.33334 1.333333e+02
    -lpbeam 1e-40 1.000000e-40
    -lponlybeam 7e-29 7.000000e-29
    -lw 6.5 1.000000e+01
    -maxhmmpf -1 -1
    -maxnewoov 20 20
    -maxwpf -1 -1
    -mdef
    -mean
    -mfclogdir
    -min_endfr 0 0
    -mixw
    -mixwfloor 0.0000001 1.000000e-07
    -mllr
    -mllrctl
    -mllrdir
    -mllrext
    -mmap yes yes
    -nbest 0 0
    -nbestdir
    -nbestext .hyp .hyp
    -ncep 13 13
    -nfft 512 512
    -nfilt 40 40
    -nwpen 1.0 1.000000e+00
    -outlatbeam 1e-5 1.000000e-05
    -outlatdir
    -outlatext .lat .lat
    -outlatfmt s3 s3
    -pbeam 1e-48 1.000000e-48
    -pip 1.0 1.000000e+00
    -pl_beam 1e-10 1.000000e-10
    -pl_pbeam 1e-5 1.000000e-05
    -pl_window 0 0
    -rawlogdir
    -remove_dc no no
    -round_filters yes yes
    -samprate 16000 1.600000e+04
    -seed -1 -1
    -sendump
    -senin no no
    -senlogdir
    -senmgau
    -silprob 0.005 5.000000e-03
    -smoothspec no no
    -svspec
    -tmat
    -tmatfloor 0.0001 1.000000e-04
    -topn 4 4
    -topn_beam 0 0
    -toprule
    -transform legacy legacy
    -unit_area yes yes
    -upperf 6855.4976 6.855498e+03
    -usewdphones no no
    -uw 1.0 1.000000e+00
    -var
    -varfloor 0.0001 1.000000e-04
    -varnorm no no
    -verbose no no
    -warp_params
    -warp_type inverse_linear inverse_linear
    -wbeam 7e-29 1.000000e-40
    -wip 0.65 2.000000e-01
    -wlen 0.025625 2.562500e-02

    INFO: feat.c(713): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='current', VARNORM='no', AGC='none'
    INFO: cmn.c(142): mean[0]= 12.00, mean[1..12]= 0.0
    ERROR: "acmod.c", line 87: Folder '/home/pi/an4/model_parameters/an4.cd_cont_200' does not contain acoustic model definition 'mdef'
    FATAL_ERROR: "batch.c", line 819: PocketSphinx decoder init failed
    Thu Apr 5 02:55:50 2018

     
    • Nickolay V. Shmyrev

      Use 5prealpha.

       
      • Alex

        Alex - 2018-04-06

        i 'm using jasper, it's not support 5prealpha.

         

Log in to post a comment.