Menu

SubWiki Tutorial Doubt: mdef.c not found

Help
2012-06-05
2012-09-22
  • Gagan M Khandate

    Hi,

    I am following the tutorial by subwiki for sphinx3 (http://sphinx.subwiki.com
    /sphinx/index.php/Hello_World_Decoder_QuickStart_Guide)

    and I am facing problems when I run the command
    '$ sphinx3_livepretend ctlfile . cfgfile'
    I don't understand in which directory I should place the ctlfile and cfgfile.
    Also, I am not sure where to place the audio files(.RAW) .

    When I place these all the above files (ctlfile, cfgfile and audio files) and
    run the command
    '$ sphinx3_livepretend ctlfile . cfgfile'

    I encountered the following error

    [url=null]gagan@gagan-HP-Pavilion-g6-Notebook-PC:/usr/src/sphinx$ sphinx3_livepretend ctlfile . cfgfile
    INFO: info.c(65): Host: 'gagan-HP-Pavilion-g6-Notebook-PC'
    INFO: info.c(69): Directory: '/usr/src/sphinx'
    INFO: info.c(73): sphinx3_livepretend Compiled on: Jun  4 2012, AT: 15:10:43
    
    INFO: cmd_ln.c(691): Parsing command line:
    \
        -samprate 16000 \
        -hmm $SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd \
        -dict $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.dic \
        -fdict $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.filler \
        -lm $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp_3gram.arpa.DMP
    
    Current configuration:
    [NAME]          [DEFLT]     [VALUE]
    -agc            none        none
    -agcthresh      2.0     2.000000e+00
    -alpha          0.97        9.700000e-01
    -backtrace      yes     yes
    -beam           1.0e-55     1.000000e-55
    -bestpath       no      no
    -bestpathlw             0.000000e+00
    -bestscoredir               
    -bestsenscrdir              
    -bghist         no      no
    -bptbldir               
    -bptblsize      32768       32768
    -cb2mllr        .1cls.      .1cls.
    -cep2spec       no      no
    -ceplen         13      13
    -ci_pbeam       1e-80       1.000000e-80
    -cmn            current     current
    -cmninit        8.0     8.0
    -cond_ds        no      no
    -ctl                    
    -ctlcount       1000000000  1000000000
    -ctloffset      0       0
    -ctl_lm                 
    -ctl_mllr               
    -dagfudge       2       2
    -dict                   $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.dic
    -dist_ds        no      no
    -dither         no      no
    -doublebw       no      no
    -ds         1       1
    -epl            3       3
    -fdict                  $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.filler
    -feat           1s_c_d_dd   1s_c_d_dd
    -featparams             
    -fillpen                
    -fillprob       0.1     1.000000e-01
    -frate          100     100
    -fsg                    
    -fsgusealtpron      yes     yes
    -fsgusefiller       yes     yes
    -gs                 
    -gs4gs          yes     yes
    -hmm                    $SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd
    -hmmdump        no      no
    -hmmdumpef      200000000   200000000
    -hmmdumpsf      200000000   200000000
    -hmmhistbinsize     5000        5000
    -hyp                    
    -hypseg                 
    -hypsegscore_unscale    yes     yes
    -inlatdir               
    -inlatwin       50      50
    -input_endian       little      little
    -kdmaxbbi       -1      -1
    -kdmaxdepth     0       0
    -kdtree                 
    -latcompress        yes     yes
    -latext         lat.gz      lat.gz
    -lda                    
    -ldadim         0       0
    -lextreedump        0       0
    -lifter         0       0
    -lm                 $SPHINX_ROOT/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp_3gram.arpa.DMP
    -lmctlfn                
    -lmdumpdir              
    -lmname                 
    -log3table      yes     yes
    -logbase        1.0003      1.000300e+00
    -logspec        no      no
    -lowerf         133.33334   1.333333e+02
    -lts_mismatch       no      no
    -lw         9.5     9.500000e+00
    -machine_endian     little      little
    -maxcdsenpf     100000      100000
    -maxedge        2000000     2000000
    -maxhistpf      100     100
    -maxhmmpf       20000       20000
    -maxhyplen      1000        1000
    -maxlmop        100000000   100000000
    -maxlpf         40000       40000
    -maxppath       1000000     1000000
    -maxwpf         20      20
    -mdef                   
    -mean                   
    -min_endfr      3       3
    -mixw                   
    -mixwfloor      0.0000001   1.000000e-07
    -mllr                   
    -mode           fwdtree     fwdtree
    -nbest          200     200
    -nbestdir               
    -nbestext       nbest.gz    nbest.gz
    -ncep           13      13
    -nfft           512     512
    -nfilt          40      40
    -Nlextree       3       3
    -Nstalextree        25      25
    -op_mode        -1      -1
    -outlatdir              
    -outlatfmt      s3      s3
    -pbeam          1.0e-50     1.000000e-50
    -pheurtype      0       0
    -phonepen       1.0     1.000000e+00
    -phypdump       yes     yes
    -pl_beam        1.0e-80     1.000000e-80
    -pl_window      1       1
    -ppathdebug     no      no
    -ptranskip      0       0
    -rawext         .raw        .raw
    -remove_dc      no      no
    -round_filters      yes     yes
    -samprate       16000       1.600000e+04
    -seed           -1      -1
    -sendump                
    -senmgau        .cont.      .cont.
    -silprob        0.1     1.000000e-01
    -smoothspec     no      no
    -spec2cep       no      no
    -subvq                  
    -subvqbeam      3.0e-3      3.000000e-03
    -svq4svq        no      no
    -svspec                 
    -tighten_factor     0.5     5.000000e-01
    -tmat                   
    -tmatfloor      0.0001      1.000000e-04
    -topn           4       4
    -topn_beam      0       0
    -tracewhmm              
    -transform      legacy      legacy
    -treeugprob     yes     yes
    -unit_area      yes     yes
    -upperf         6855.4976   6.855498e+03
    -uw         0.7     7.000000e-01
    -var                    
    -varfloor       0.0001      1.000000e-04
    -varnorm        no      no
    -verbose        no      no
    -vqeval         3       3
    -warp_params                
    -warp_type      inverse_linear  inverse_linear
    -wbeam          1.0e-35     1.000000e-35
    -wend_beam      1.0e-80     1.000000e-80
    -wip            0.7     7.000000e-01
    -wlen           0.025625    2.562500e-02
    -worddumpef     200000000   200000000
    -worddumpsf     200000000   200000000
    
    INFO: kbcore.c(439): Begin Initialization of Core Models:
    ERROR: "cmd_ln.c", line 787: Cannot open configuration file $SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/feat.params for reading
    INFO: kbcore.c(459): Parsed model-specific feature parameters from $SPHINX_ROOT/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/feat.params
    INFO:   Initialization of the log add table
    INFO:   Log-Add table size = 29356 x 2 >> 0
    INFO:   
    INFO: feat.c(684): 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
    INFO: kbcore.c(486): .cont.
    INFO:   Initialization of feat_t, report:
    INFO:   Feature type         = 1s_c_d_dd
    INFO:   Cepstral size        = 13
    INFO:   Number of streams    = 1
    INFO:   Vector size of stream[0]: 39
    INFO:   Number of subvectors = 0
    INFO:   Whether CMN is used  = 1
    INFO:   Whether AGC is used  = 0
    INFO:   Whether variance is normalized = 0
    INFO:   
    INFO:   Reading HMM in Sphinx 3 Model format
    INFO:   Model Definition File: (null)
    INFO:   Mean File: (null)
    INFO:   Variance File: (null)
    INFO:   Mixture Weight File: (null)
    INFO:   Transition Matrices File: (null)
    FATAL_ERROR: "mdef.c", line 679: No mdef-file
    [/url]
    

    Please help me.

    Thanks

     
  • Nickolay V. Shmyrev

    Subwiki tutorial is outdated and obsolete. It's not supposed to work anymore.

    You can find an official tutorial on our website:

    http://cmusphinx.sourceforge.net/wiki/tutorial

     
  • Gagan M Khandate

    Thank you! .This tutorial is working.

     

Log in to post a comment.