Menu

MAP Adaptation for Handwriting Recognition

Help
2010-01-23
2012-09-22
  • Jeremie Papon

    Jeremie Papon - 2010-01-23

    So, long story short, we've adapted Sphinx4 and SphinxTrain to work
    recognizing Urdu handwriting, and are getting some decent performance figures
    ( > 90% accuracy with a relatively small vocab).
    Anyway, I'm working on "speaker" adaptation at the moment, and I have MLLR
    transforms working, but am not seeing any performance increase. So I'm trying
    to get MAP adaptation working... and I've come across the good ol:
    ERROR: "backward.c", line 431: final state not reached
    and sometimes the more interesting:
    ERROR: "forward.c", line 595: All 4 active states, 606 615 618 N(28,4), zero
    at time 1
    0 ERROR: "baum_welch.c", line 331: word1/124-1 ignored
    This happens for all words, and for adaptation sets sized from 30-200 words (I
    wish I had more than 200 words for each person, but as of now that's not
    really realistic). For reference, the model is a cd tied with 600 seno, and
    our training set consists of ~200 handwritten words x 115 people.

    I don't understand how it could be an alignment issue; I'm using the same .mfc
    files as I did to train my overall model, and that it trains just fine. And
    I've checked the .lsn file, it looks fine to me (it IS supposed to be the same
    as the transcription file for overall training, just containing only those for
    the person you're adapting to right? My lines look like this:
    4_41_7_41 <sil> (word1/104-1)
    Where the 4_41_7_41 is a particular Urdu word, and (word1/104-1) points to
    writer 104's instance of the word. </sil>

    I know there's been a lot of posts about these types of errors in the past,
    but I've looked through them to no avail.
    I appreciate any help!

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-23

    Could it have to do with the fact that I only have like 60 frames, whereas a
    speech sample has a lot more?

     
  • Nickolay V. Shmyrev

    My lines look like this:
    4_41_7_41 <sil> (word1/104-1)
    Where the 4_41_7_41 is a particular Urdu word, and (word1/104-1) points to
    writer 104's instance of the word. </sil>

    Hi

    For bw specifically I remember a problems because of missing and .
    It's better to add them. Otherwise it's hard to guess, it would be probably
    helpful to have files to debug this issue.

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-23

    Ah. Well that could be helpful, that'll take two seconds to add to my
    transcripts.
    Unfortunately I'm not at that computer anymore and it's been turned off for
    the weekend =p
    I'll try it out Monday and get back to ya.

    I am interested in what exactly those would mean in my context though, I'll
    have to look at the whitepaper doc and the code over the weekend.

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-25

    I added in the and , but it made no difference as far as I can tell.
    I'm going to post the log files for the attempted adaptation: BW1, MAP1, BW2

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-25
        INFO: main.c(196): Compiled on Jan 21 2010 at 12:39:27
    /home/jpapon/TestProject/0.4_8/bin/bw \
     -moddeffn /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.600.mdef \
     -ts2cbfn .cont. \
     -mixwfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/mixture_weights \
     -mwfloor 1e-08 \
     -tmatfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/transition_matrices \
     -meanfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/means \
     -varfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/variances \
     -ltsoov no \
     -dictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic \
     -fdictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler \
     -cepdir /home/jpapon/TestProject/0.4_8/feat \
     -cepext mfc \
     -ctlfn /home/jpapon/TestProject/0.4_8/etc/user124.ctl \
     -lsnfn /home/jpapon/TestProject/0.4_8/etc/user124.lsn \
     -accumdir /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124 \
     -varfloor 0.0001 \
     -topn 4 \
     -abeam 1e-40 \
     -bbeam 1e-80 \
     -agc none \
     -cmn current \
     -varnorm no \
     -meanreest yes \
     -varreest yes -2passvar no \
     -tmatreest yes \
     -fullvar no \
     -diagfull no \
     -feat 1s_c \
     -ceplen 35 \
     -timing no
    
    [Switch]         [Default] [Value]
    -help            no        no     
    -example         no        no     
    -hmmdir                           
    -moddeffn                  /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.600.mdef
    -tmatfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/transition_matrices
    -mixwfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/mixture_weights
    -meanfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/means
    -varfn                     /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/variances
    -fullvar         no        no     
    -diagfull        no        no     
    -mwfloor         0.00001   1.000000e-08
    -tpfloor         0.0001    1.000000e-04
    -varfloor        0.00001   1.000000e-04
    -topn            4         4      
    -dictfn                    /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    -fdictfn                   /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    -ltsoov          no        no     
    -ctlfn                     /home/jpapon/TestProject/0.4_8/etc/user124.ctl
    -nskip                            
    -runlen          -1        -1     
    -part                             
    -npart                            
    -cepext          mfc       mfc    
    -cepdir                    /home/jpapon/TestProject/0.4_8/feat
    -phsegext        phseg     phseg  
    -phsegdir                         
    -outphsegdir                      
    -sentdir                          
    -sentext         sent      sent   
    -lsnfn                     /home/jpapon/TestProject/0.4_8/etc/user124.lsn
    -accumdir                  /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124
    -ceplen          13        35     
    -cepwin          0         0      
    -agc             max       none   
    -cmn             current   current
    -varnorm         no        no     
    -silcomp         none      none   
    -sildel          no        no     
    -siltag          SIL       SIL    
    -abeam           1e-100    1.000000e-40
    -bbeam           1e-100    1.000000e-80
    -varreest        yes       yes    
    -meanreest       yes       yes    
    -mixwreest       yes       yes    
    -tmatreest       yes       yes    
    -mllrmat                          
    -cb2mllrfn       .1cls.    .1cls. 
    -ts2cbfn                   .cont. 
    -feat            1s_c_d_dd 1s_c   
    -ldafn                            
    -ldadim          29        29     
    -ldaaccum        no        no     
    -timing          yes       no     
    -viterbi         no        no     
    -2passvar        no        no     
    -sildelfn                         
    -spthresh        0.0       0.000000e+00
    -maxuttlen       0         0      
    -ckptintv                         
    -outputfullpath  no        no     
    -fullsuffixmatch no        no     
    -pdumpdir                         
    INFO: main.c(253): Reading /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.600.mdef
    INFO: model_def_io.c(587): Model definition info:
    INFO: model_def_io.c(588): 4846 total models defined (38 base, 4808 tri)
    INFO: model_def_io.c(589): 24230 total states
    INFO: model_def_io.c(590): 752 total tied states
    INFO: model_def_io.c(591): 152 total tied CI states
    INFO: model_def_io.c(592): 38 total tied transition matrices
    INFO: model_def_io.c(593): 5 max state/model
    INFO: model_def_io.c(594): 5 min state/model
    INFO: s3mixw_io.c(116): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/mixture_weights [752x1x3 array]
    INFO: s3tmat_io.c(115): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/transition_matrices [38x4x5 array]
    INFO: mod_inv.c(297): inserting tprob floor 1.000000e-04 and renormalizing
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/means [752x1x3 array]
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/variances [752x1x3 array]
    INFO: gauden.c(181): 752 total mgau
    INFO: gauden.c(155): 1 feature streams (|0|=35 )
    INFO: gauden.c(192): 3 total densities
    INFO: gauden.c(98): min_var=1.000000e-04
    WARNING: "mod_inv.c", line 257: n_top 4 > n_density 3.  n_top <- 3
    INFO: gauden.c(170): compute 3 densities/frame
    INFO: main.c(361): Will reestimate mixing weights.
    INFO: main.c(363): Will reestimate means.
    INFO: main.c(365): Will reestimate variances.
    INFO: main.c(367): WIll NOT optionally delete silence in Baum Welch or Viterbi. 
    INFO: main.c(375): Will reestimate transition matrices
    INFO: main.c(388): Reading main lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: lexicon.c(233): 100 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: main.c(400): Reading filler lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: lexicon.c(233): 3 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: main.c(421): Silence Tag SIL
    INFO: corpus.c(1343): Will process all remaining utts starting at 0
    INFO: main.c(620): Reestimation: Baum-Welch
    column defns
        <seq>
        <id>
        <n_frame_in>
        <n_frame_del>
        <n_state_shmm>
        <avg_states_alpha>
        <avg_states_beta>
        <avg_states_reest>
        <avg_posterior_prune>
        <frame_log_lik>
        <utt_log_lik>
        ... timing info ... 
    utt>     0                     124-1   65    0    30 10  5 8 1.293353e-83 8.528276e+01 5.543379e+03
    utt>     1                     124-2   71    0    25 8  3 5 3.864840e-83 9.612988e+01 6.825222e+03
    utt>     2                    124-10   85    0    25 9  4 5 9.668507e-83 9.370208e+01 7.964677e+03
    utt>     3                    124-11   57    0    25 10  5 6 9.688633e-83 8.530727e+01 4.862515e+03
    utt>     4                    124-12   97    0    35 10  4 7 2.289018e-83 9.768478e+01 9.475424e+03
    utt>     5                    124-13   53    0    25 11  6 10 6.178820e-84 8.699203e+01 4.610577e+03
    utt>     6                    124-14   73    0    30 8  4 5 1.654289e-83 9.638072e+01 7.035792e+03
    utt>     7                    124-15  123    0    30 9  3 5 3.050294e-84 1.036693e+02 1.275132e+04
    utt>     8                    124-17   87    0    30 9  4 5 1.138661e-82 1.000430e+02 8.703738e+03
    utt>     9                    124-18   69    0    25 8  3 4 8.159225e-85 8.837660e+01 6.097986e+03
    utt>    10                    124-20   77    0    30 9  3 5 1.846379e-82 9.082426e+01 6.993468e+03
    utt>    11                    124-21  135    0    45 14  5 8 3.088065e-83 1.042701e+02 1.407646e+04
    utt>    12                    124-22   99    0    25 6 WARNING: "gauden.c", line 1370: Scaling factor too small: -980.178440
    ERROR: "backward.c", line 1024: alpha(1.703500e-01) <> sum of alphas * betas (0.000000e+00) in frame 59
    ERROR: "baum_welch.c", line 331: word22/124-22 ignored
    
    utt>    13                    124-24   59    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word24/124-24 ignored
    
    utt>    14                    124-26  111    0    35 13  6 9 8.169237e-83 1.049449e+02 1.164889e+04
    utt>    15                    124-27   83    0    20 6  2 2 7.235031e-85 9.803006e+01 8.136495e+03
    utt>    16                    124-28   25    0    20 5  3 5 5.820153e-88 6.454750e+01 1.613688e+03
    utt>    17                    124-29   27    0    20 7  4 7 5.395403e-92 7.083063e+01 1.912427e+03
    utt>    18                    124-30   61    0    25 8  4 5 5.996479e-84 8.166198e+01 4.981381e+03
    utt>    19                    124-31   57    0    20 9  4 4 1.312762e-82 8.060449e+01 4.594456e+03
    utt>    20                    124-32  105    0    30 9  4 5 2.490215e-83 9.812388e+01 1.030301e+04
    utt>    21                    124-33   95    0    35 9  4 7 7.570758e-83 1.035626e+02 9.838450e+03
    utt>    22                    124-34   85    0    25 7  3 4 2.254316e-83 9.231743e+01 7.846982e+03
    utt>    23                    124-40   85    0    35 11  4 6 2.196754e-82 9.051588e+01 7.693850e+03
    utt>    24                    124-42  103    0    30 10  4 4 4.295472e-83 9.699696e+01 9.990687e+03
    utt>    25                    124-43   79    0    25 11  5 8 2.094078e-84 9.757302e+01 7.708268e+03
    utt>    26                    124-44  111    0    40 11  4 6 1.042656e-82 1.025428e+02 1.138225e+04
    utt>    27                    124-45   85    0    35 13  4 7 1.205300e-82 1.014865e+02 8.626349e+03
    utt>    28                    124-46   53    0    25 8  4 7 1.388066e-82 9.912844e+01 5.253807e+03
    utt>    29                    124-49  109    0    40 10  5 8 1.195285e-83 1.002017e+02 1.092198e+04
    utt>    30                    124-50   65    0    30 11  6 10 7.624708e-84 9.423096e+01 6.125013e+03
    utt>    31                    124-51   89    0    30 9 WARNING: "gauden.c", line 1370: Scaling factor too small: -947.113163
    ERROR: "backward.c", line 1024: alpha(1.703500e-01) <> sum of alphas * betas (0.000000e+00) in frame 6
    ERROR: "baum_welch.c", line 331: word51/124-51 ignored
    
    utt>    32                    124-52   81    0    25 8  4 6 1.293888e-82 9.680083e+01 7.840867e+03
    utt>    33                    124-53   75    0    30 13  5 6 8.662712e-83 9.852041e+01 7.389031e+03
    utt>    34                    124-54  109    0    25 11  3 4 9.512042e-84 1.047504e+02 1.141779e+04
    utt>    35                    124-56   89    0    45 10  6 8 1.161219e-82 1.007865e+02 8.969998e+03
    utt>    36                    124-57   87    0    35 8  4 6 5.303544e-83 1.005802e+02 8.750476e+03
    utt>    37                    124-58   85    0    35 11  4 7 6.693717e-83 1.005351e+02 8.545486e+03
    utt>    38                    124-59  111    0    25 8  3 4 5.585423e-84 1.056786e+02 1.173033e+04
    utt>    39                    124-60  107    0    35 12  6 9 4.665700e-83 1.033586e+02 1.105937e+04
    utt>    40                    124-61   97    0    25 7  3 6 5.508035e-83 8.843169e+01 8.577874e+03
    utt>    41                    124-62   97    0    30 9  4 6 3.981700e-84 1.020179e+02 9.895740e+03
    utt>    42                    124-63   93    0    30 7  3 5 1.282776e-83 9.341772e+01 8.687848e+03
    utt>    43                    124-64   99    0    40 11  5 9 5.452489e-83 1.027158e+02 1.016886e+04
    utt>    44                    124-66   55    0    25 10  4 5 9.103970e-83 8.379232e+01 4.608577e+03
    utt>    45                    124-67  107    0    30 9  4 7 1.453863e-83 8.782958e+01 9.397765e+03
    utt>    46                    124-68   93    0    30 9  4 6 3.955069e-83 9.996092e+01 9.296366e+03
    utt>    47                    124-69   59    0    25 9  5 7 2.728106e-84 8.790796e+01 5.186570e+03
    utt>    48                    124-70  115    0    30 8  3 5 6.451028e-83 1.052004e+02 1.209805e+04
    utt>    49                    124-71  139    0    30 5 WARNING: "gauden.c", line 1370: Scaling factor too small: -1541.205175
    ERROR: "backward.c", line 1024: alpha(1.703500e-01) <> sum of alphas * betas (0.000000e+00) in frame 113
    ERROR: "baum_welch.c", line 331: word71/124-71 ignored
    
    utt>    50                    124-72  105    0    35 12  7 11 2.018720e-83 9.803694e+01 1.029388e+04
    utt>    51                    124-73  109    0    25 10  2 4 7.747735e-83 9.452995e+01 1.030377e+04
    utt>    52                    124-74   93    0    25 7  3 4 2.728569e-83 9.472114e+01 8.809066e+03
    utt>    53                    124-75  103    0    35 9  4 7 8.250137e-83 9.998145e+01 1.029809e+04
    utt>    54                    124-76   65    0    30 10  6 7 8.116302e-85 9.258749e+01 6.018187e+03
    utt>    55                    124-77  111    0    40 13  5 7 5.621367e-83 1.002120e+02 1.112353e+04
    utt>    56                    124-78  111    0    35 10  4 6 5.836249e-83 1.036844e+02 1.150896e+04
    utt>    57                    124-82   85    0    25 9  3 5 3.830127e-83 1.010103e+02 8.585878e+03
    utt>    58                    124-83   87    0    25 4 WARNING: "gauden.c", line 1370: Scaling factor too small: -1239.477926
    ERROR: "backward.c", line 1024: alpha(1.703500e-01) <> sum of alphas * betas (0.000000e+00) in frame 85
    ERROR: "baum_welch.c", line 331: word83/124-83 ignored
    
    utt>    59                    124-84   85    0    25 8  3 5 1.557022e-83 9.897284e+01 8.412691e+03
    utt>    60                    124-85   87    0    30 8  3 5 2.383760e-83 9.829707e+01 8.551845e+03
    utt>    61                    124-86   63    0    25 13  6 12 5.943554e-85 8.206272e+01 5.169952e+03
    utt>    62                    124-87  117    0    35 14  6 5 2.436860e-83 9.650567e+01 1.129116e+04
    utt>    63                    124-88  117    0    30 10  3 5 1.686688e-85 1.074016e+02 1.256599e+04
    utt>    64                    124-89   71    0    30 8  4 5 9.916504e-83 8.164128e+01 5.796531e+03
    utt>    65                    124-91   71    0    25 8  3 5 1.149489e-82 9.390100e+01 6.666971e+03
    utt>    66                    124-92  111    0    35 10  3 5 8.196236e-83 1.075831e+02 1.194173e+04
    utt>    67                    124-94  133    0    45 12  5 8 5.554400e-83 1.068881e+02 1.421611e+04
    utt>    68                    124-95   91    0    30 11  5 8 1.753565e-82 1.008559e+02 9.177883e+03
    utt>    69                    124-96  125    0    35 9  4 5 5.313235e-83 1.061378e+02 1.326722e+04
    utt>    70                    124-97   99    0    30 11  5 7 7.193378e-83 9.962042e+01 9.862422e+03
    utt>    71                    124-98   55    0    30 8  3 4 2.451667e-83 9.149340e+01 5.032137e+03
    utt>    72                    124-99  121    0    35 11  4 6 3.725559e-84 1.082953e+02 1.310374e+04
    utt>    73                   124-100  101    0    30 9  4 6 4.476076e-83 9.897901e+01 9.996880e+03
    utt>    74                   124-101   53    0    25 9  4 6 4.183049e-83 8.762728e+01 4.644246e+03
    utt>    75                   124-102  103    0    30 12  5 9 8.734548e-83 1.018091e+02 1.048633e+04
    utt>    76                   124-103  111    0    30 13  5 8 3.777336e-83 9.726169e+01 1.079605e+04
    utt>    77                   124-104   79    0    25 8  3 6 5.626937e-85 9.098374e+01 7.187715e+03
    utt>    78                   124-105   99    0    30 8  3 5 6.750065e-84 1.044007e+02 1.033567e+04
    utt>    79                   124-106   75    0    30 11  6 9 2.573035e-83 9.461079e+01 7.095809e+03
    utt>    80                   124-107   59    0    25 8  4 5 3.310132e-84 9.126310e+01 5.384523e+03
    utt>    81                   124-108  127    0    45 11 WARNING: "gauden.c", line 1370: Scaling factor too small: -1609.905444
    ERROR: "backward.c", line 1024: alpha(2.976407e-01) <> sum of alphas * betas (0.000000e+00) in frame 67
    ERROR: "baum_welch.c", line 331: word108/124-108 ignored
    
    utt>    82                   124-109   83    0    35 10  5 9 8.866862e-83 9.129406e+01 7.577407e+03
    utt>    83                   124-110  115    0    35 10  5 8 2.558419e-83 1.028021e+02 1.182224e+04
    utt>    84                   124-111   41    0    25 9  4 7 2.602639e-84 8.611395e+01 3.530672e+03
    utt>    85                   124-114   43    0    20 7  3 5 4.072783e-84 7.877844e+01 3.387473e+03
    overall> jpapon 6980 (-0) 9.761924e+01 6.813823e+05
    WARNING: "accum.c", line 626: The following seno never occur in the input data
        72 73 74 75 172 175 183 194 197 199 
        202 228 229 235 252 274 279 283 286 288 
        298 309 325 329 428 429 430 431 452 460 
        463 464 518 519 521 526 534 552 554 557 
        564 569 579 581 584 587 588 589 616 629 
        640 643 656 679 710 714 726 731 744 748 
        750 
    INFO: s3mixw_io.c(232): Wrote /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/mixw_counts [752x1x3 array]
    INFO: s3tmat_io.c(174): Wrote /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/tmat_counts [38x4x5 array]
    INFO: s3gau_io.c(478): Wrote /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/gauden_counts with means with vars [752x1x3 vector arrays]
    INFO: main.c(1033): Counts saved to /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124
    Mon Jan 25 10:27:55 2010
    
     
  • Jeremie Papon

    Jeremie Papon - 2010-01-25

    /home/jpapon/TestProject/0.4_8/bin/map_adapt \

     -accumdir /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124 \
     -mixwfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/mixture_weights \
     -tmatfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/transition_matrices \
     -meanfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/means \
     -varfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/variances \
     -mapmixwfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights \
     -maptmatfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices \
     -mapmeanfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means \
     -mapvarfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances
    
    [Switch]   [Default] [Value]
    -help      no        no     
    -example   no        no     
    -meanfn              /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/means
    -varfn               /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/variances
    -tmatfn              /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/transition_matrices
    -mixwfn              /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/mixture_weights
    -accumdir            /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124
    -fixedtau  no        no     
    -bayesmean yes       yes    
    -tau       10.0      1.000000e+01
    -mwfloor   0.00001   1.000000e-05
    -varfloor  0.00001   1.000000e-05
    -tpfloor   0.0001    1.000000e-04
    -mapmeanfn           /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means
    -mapvarfn            /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances
    -mapmixwfn           /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights
    -maptmatfn           /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/means [752x1x3 array]
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/variances [752x1x3 array]
    INFO: s3mixw_io.c(116): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/mixture_weights [752x1x3 array]
    INFO: s3tmat_io.c(115): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_600/transition_matrices [38x4x5 array]
    INFO: main.c(430): Reading and accumulating observation counts from /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124
    INFO: s3gau_io.c(379): Read /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/gauden_counts with means with vars [752x1x3 vector arrays]
    INFO: s3mixw_io.c(116): Read /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/mixw_counts [752x1x3 array]
    INFO: s3tmat_io.c(115): Read /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/tmat_counts [38x4x5 array]
    INFO: main.c(82): Estimating tau hyperparameter from variances and observations
    INFO: main.c(144): Re-estimating mixture weights using MAP
    INFO: main.c(199): Re-estimating transition probabilities using MAP
    INFO: main.c(501): Re-estimating means using Bayesian interpolation
    INFO: main.c(507): Re-estimating variances using MAP
    INFO: s3gau_io.c(226): Wrote /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means [752x1x3 array]
    INFO: s3gau_io.c(226): Wrote /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances [752x1x3 array]
    INFO: s3mixw_io.c(232): Wrote /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights [752x1x3 array]
    INFO: s3tmat_io.c(174): Wrote /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices [38x4x5 array]
    Mon Jan 25 10:27:55 2010
    Current Overall Likelihood Per Frame = 97.6192406876791
    
     
  • Jeremie Papon

    Jeremie Papon - 2010-01-25
            INFO: main.c(196): Compiled on Jan 21 2010 at 12:39:27
    /home/jpapon/TestProject/0.4_8/bin/bw \
     -moddeffn /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.600.mdef \
     -ts2cbfn .cont. \
     -mixwfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights \
     -mwfloor 1e-08 \
     -tmatfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices \
     -meanfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means \
     -varfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances \
     -ltsoov no \
     -dictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic \
     -fdictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler \
     -cepdir /home/jpapon/TestProject/0.4_8/feat \
     -cepext mfc \
     -ctlfn /home/jpapon/TestProject/0.4_8/etc/user124.ctl \
     -lsnfn /home/jpapon/TestProject/0.4_8/etc/user124.lsn \
     -accumdir /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124 \
     -varfloor 0.0001 \
     -topn 4 \
     -abeam 1e-40 \
     -bbeam 1e-80 \
     -agc none \
     -cmn current \
     -varnorm no \
     -meanreest yes \
     -varreest yes -2passvar no \
     -tmatreest yes \
     -fullvar no \
     -diagfull no \
     -feat 1s_c \
     -ceplen 35 \
     -timing no
    
    [Switch]         [Default] [Value]
    -help            no        no     
    -example         no        no     
    -hmmdir                           
    -moddeffn                  /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.600.mdef
    -tmatfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices
    -mixwfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights
    -meanfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means
    -varfn                     /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances
    -fullvar         no        no     
    -diagfull        no        no     
    -mwfloor         0.00001   1.000000e-08
    -tpfloor         0.0001    1.000000e-04
    -varfloor        0.00001   1.000000e-04
    -topn            4         4      
    -dictfn                    /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    -fdictfn                   /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    -ltsoov          no        no     
    -ctlfn                     /home/jpapon/TestProject/0.4_8/etc/user124.ctl
    -nskip                            
    -runlen          -1        -1     
    -part                             
    -npart                            
    -cepext          mfc       mfc    
    -cepdir                    /home/jpapon/TestProject/0.4_8/feat
    -phsegext        phseg     phseg  
    -phsegdir                         
    -outphsegdir                      
    -sentdir                          
    -sentext         sent      sent   
    -lsnfn                     /home/jpapon/TestProject/0.4_8/etc/user124.lsn
    -accumdir                  /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124
    -ceplen          13        35     
    -cepwin          0         0      
    -agc             max       none   
    -cmn             current   current
    -varnorm         no        no     
    -silcomp         none      none   
    -sildel          no        no     
    -siltag          SIL       SIL    
    -abeam           1e-100    1.000000e-40
    -bbeam           1e-100    1.000000e-80
    -varreest        yes       yes    
    -meanreest       yes       yes    
    -mixwreest       yes       yes    
    -tmatreest       yes       yes    
    -mllrmat                          
    -cb2mllrfn       .1cls.    .1cls. 
    -ts2cbfn                   .cont. 
    -feat            1s_c_d_dd 1s_c   
    -ldafn                            
    -ldadim          29        29     
    -ldaaccum        no        no     
    -timing          yes       no     
    -viterbi         no        no     
    -2passvar        no        no     
    -sildelfn                         
    -spthresh        0.0       0.000000e+00
    -maxuttlen       0         0      
    -ckptintv                         
    -outputfullpath  no        no     
    -fullsuffixmatch no        no     
    -pdumpdir                         
    INFO: main.c(253): Reading /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.600.mdef
    INFO: model_def_io.c(587): Model definition info:
    INFO: model_def_io.c(588): 4846 total models defined (38 base, 4808 tri)
    INFO: model_def_io.c(589): 24230 total states
    INFO: model_def_io.c(590): 752 total tied states
    INFO: model_def_io.c(591): 152 total tied CI states
    INFO: model_def_io.c(592): 38 total tied transition matrices
    INFO: model_def_io.c(593): 5 max state/model
    INFO: model_def_io.c(594): 5 min state/model
    INFO: s3mixw_io.c(116): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights [752x1x3 array]
    INFO: s3tmat_io.c(115): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices [38x4x5 array]
    INFO: mod_inv.c(297): inserting tprob floor 1.000000e-04 and renormalizing
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means [752x1x3 array]
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances [752x1x3 array]
    INFO: gauden.c(181): 752 total mgau
    INFO: gauden.c(155): 1 feature streams (|0|=35 )
    INFO: gauden.c(192): 3 total densities
    INFO: gauden.c(98): min_var=1.000000e-04
    WARNING: "mod_inv.c", line 257: n_top 4 > n_density 3.  n_top <- 3
    INFO: gauden.c(170): compute 3 densities/frame
    INFO: main.c(361): Will reestimate mixing weights.
    INFO: main.c(363): Will reestimate means.
    INFO: main.c(365): Will reestimate variances.
    INFO: main.c(367): WIll NOT optionally delete silence in Baum Welch or Viterbi. 
    INFO: main.c(375): Will reestimate transition matrices
    INFO: main.c(388): Reading main lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: lexicon.c(233): 100 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: main.c(400): Reading filler lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: lexicon.c(233): 3 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: main.c(421): Silence Tag SIL
    INFO: corpus.c(1343): Will process all remaining utts starting at 0
    INFO: main.c(620): Reestimation: Baum-Welch
    column defns
        <seq>
        <id>
        <n_frame_in>
        <n_frame_del>
        <n_state_shmm>
        <avg_states_alpha>
        <avg_states_beta>
        <avg_states_reest>
        <avg_posterior_prune>
        <frame_log_lik>
        <utt_log_lik>
        ... timing info ... 
    utt>     0                     124-1   65    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word1/124-1 ignored
    
    utt>     1                     124-2   71    0    25 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word2/124-2 ignored
    
    utt>     2                    124-10   85    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word10/124-10 ignored
    
    utt>     3                    124-11   57    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word11/124-11 ignored
    
    utt>     4                    124-12   97    0    35 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word12/124-12 ignored
    
    utt>     5                    124-13   53    0    25 1 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word13/124-13 ignored
    
    utt>     6                    124-14   73    0    30 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word14/124-14 ignored
    
    utt>     7                    124-15  123    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word15/124-15 ignored
    
    utt>     8                    124-17   87    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word17/124-17 ignored
    
    utt>     9                    124-18   69    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word18/124-18 ignored
    
    utt>    10                    124-20   77    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word20/124-20 ignored
    
    utt>    11                    124-21  135    0    45 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word21/124-21 ignored
    
    utt>    12                    124-22   99    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word22/124-22 ignored
    
    utt>    13                    124-24   59    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word24/124-24 ignored
    
    utt>    14                    124-26  111    0    35 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word26/124-26 ignored
    
    utt>    15                    124-27   83    0    20 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word27/124-27 ignored
    
    utt>    16                    124-28   25    0    20 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word28/124-28 ignored
    
    utt>    17                    124-29   27    0    20 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word29/124-29 ignored
    
    utt>    18                    124-30   61    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word30/124-30 ignored
    
    utt>    19                    124-31   57    0    20 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word31/124-31 ignored
    
    utt>    20                    124-32  105    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word32/124-32 ignored
    
    utt>    21                    124-33   95    0    35 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word33/124-33 ignored
    
    utt>    22                    124-34   85    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word34/124-34 ignored
    
    utt>    23                    124-40   85    0    35 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word40/124-40 ignored
    
    utt>    24                    124-42  103    0    30 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word42/124-42 ignored
    
    utt>    25                    124-43   79    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word43/124-43 ignored
    
    utt>    26                    124-44  111    0    40 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word44/124-44 ignored
    
    utt>    27                    124-45   85    0    35 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word45/124-45 ignored
    
    utt>    28                    124-46   53    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word46/124-46 ignored
    
    utt>    29                    124-49  109    0    40 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word49/124-49 ignored
    
    utt>    30                    124-50   65    0    30 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word50/124-50 ignored
    
    utt>    31                    124-51   89    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word51/124-51 ignored
    
    utt>    32                    124-52   81    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word52/124-52 ignored
    
    utt>    33                    124-53   75    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word53/124-53 ignored
    
    utt>    34                    124-54  109    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word54/124-54 ignored
    
    utt>    35                    124-56   89    0    45 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word56/124-56 ignored
    
    utt>    36                    124-57   87    0    35 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word57/124-57 ignored
    
    utt>    37                    124-58   85    0    35 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word58/124-58 ignored
    
    utt>    38                    124-59  111    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word59/124-59 ignored
    
    utt>    39                    124-60  107    0    35 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word60/124-60 ignored
    
    utt>    40                    124-61   97    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word61/124-61 ignored
    
    utt>    41                    124-62   97    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word62/124-62 ignored
    
    utt>    42                    124-63   93    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word63/124-63 ignored
    
    utt>    43                    124-64   99    0    40 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word64/124-64 ignored
    
    utt>    44                    124-66   55    0    25 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word66/124-66 ignored
    
    utt>    45                    124-67  107    0    30 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word67/124-67 ignored
    
    utt>    46                    124-68   93    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word68/124-68 ignored
    
    utt>    47                    124-69   59    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word69/124-69 ignored
    
    utt>    48                    124-70  115    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word70/124-70 ignored
    
    utt>    49                    124-71  139    0    30 1 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word71/124-71 ignored
    
    utt>    50                    124-72  105    0    35 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word72/124-72 ignored
    
    utt>    51                    124-73  109    0    25 5 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word73/124-73 ignored
    
    utt>    52                    124-74   93    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word74/124-74 ignored
    
    utt>    53                    124-75  103    0    35 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word75/124-75 ignored
    
    utt>    54                    124-76   65    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word76/124-76 ignored
    
    utt>    55                    124-77  111    0    40 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word77/124-77 ignored
    
    utt>    56                    124-78  111    0    35 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word78/124-78 ignored
    
    utt>    57                    124-82   85    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word82/124-82 ignored
    
    utt>    58                    124-83   87    0    25 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word83/124-83 ignored
    
    utt>    59                    124-84   85    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word84/124-84 ignored
    
    utt>    60                    124-85   87    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word85/124-85 ignored
    
    utt>    61                    124-86   63    0    25 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word86/124-86 ignored
    
    utt>    62                    124-87  117    0    35 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word87/124-87 ignored
    
    utt>    63                    124-88  117    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word88/124-88 ignored
    
    utt>    64                    124-89   71    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word89/124-89 ignored
    
    utt>    65                    124-91   71    0    25 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word91/124-91 ignored
    
    utt>    66                    124-92  111    0    35 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word92/124-92 ignored
    
    utt>    67                    124-94  133    0    45 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word94/124-94 ignored
    
    utt>    68                    124-95   91    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word95/124-95 ignored
    
    utt>    69                    124-96  125    0    35 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word96/124-96 ignored
    
    utt>    70                    124-97   99    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word97/124-97 ignored
    
    utt>    71                    124-98   55    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word98/124-98 ignored
    
    utt>    72                    124-99  121    0    35 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word99/124-99 ignored
    
    utt>    73                   124-100  101    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word100/124-100 ignored
    
    utt>    74                   124-101   53    0    25 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word101/124-101 ignored
    
    utt>    75                   124-102  103    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word102/124-102 ignored
    
    utt>    76                   124-103  111    0    30 5 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word103/124-103 ignored
    
    utt>    77                   124-104   79    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word104/124-104 ignored
    
    utt>    78                   124-105   99    0    30 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word105/124-105 ignored
    
    utt>    79                   124-106   75    0    30 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word106/124-106 ignored
    
    utt>    80                   124-107   59    0    25 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word107/124-107 ignored
    
    utt>    81                   124-108  127    0    45 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word108/124-108 ignored
    
    utt>    82                   124-109   83    0    35 4 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word109/124-109 ignored
    
    utt>    83                   124-110  115    0    35 2 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word110/124-110 ignored
    
    utt>    84                   124-111   41    0    25 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word111/124-111 ignored
    
    utt>    85                   124-114   43    0    20 3 ERROR: "backward.c", line 431: final state not reached
    ERROR: "baum_welch.c", line 331: word114/124-114 ignored
    
    overall> jpapon 0 (-0) 0.000000e+00 0.000000e+00
    WARNING: "accum.c", line 626: The following seno never occur in the input data
        0 1 2 3 4 5 6 7 8 9 
        10 11 12 13 14 15 16 17 18 19 
        20 21 22 23 24 25 26 27 28 29 
        30 31 32 33 34 35 36 37 38 39 
        40 41 42 43 44 45 46 47 48 49 
        50 51 52 53 54 55 56 57 58 59 
        60 61 62 63 64 65 66 67 68 69 
        70 71 72 73 74 75 76 77 78 79 
        80 81 82 83 84 85 86 87 88 89 
        90 91 92 93 94 95 96 97 98 99 
        100 101 102 103 104 105 106 107 108 109 
        110 111 112 113 114 115 116 117 118 119 
        120 121 122 123 124 125 126 127 128 129 
        130 131 132 133 134 135 136 137 138 139 
        140 141 142 143 144 145 146 147 148 149 
        150 151 152 153 154 155 156 157 158 159 
        160 161 162 163 164 165 166 167 168 169 
        170 171 172 173 174 175 176 177 178 179 
        180 181 182 183 184 185 186 187 188 189 
        190 191 192 193 194 195 196 197 198 199 
        200 201 202 203 204 205 206 207 208 209 
        210 211 212 213 214 215 216 217 218 219 
        220 221 222 223 224 225 226 227 228 229 
        230 231 232 233 234 235 236 237 238 239 
        240 241 242 243 244 245 246 247 248 249 
        250 251 252 253 254 255 256 257 258 259 
        260 261 262 263 264 265 266 267 268 269 
        270 271 272 273 274 275 276 277 278 279 
        280 281 282 283 284 285 286 287 288 289 
        290 291 292 293 294 295 296 297 298 299 
        300 301 302 303 304 305 306 307 308 309 
        310 311 312 313 314 315 316 317 318 319 
        320 321 322 323 324 325 326 327 328 329 
        330 331 332 333 334 335 336 337 338 339 
        340 341 342 343 344 345 346 347 348 349 
        350 351 352 353 354 355 356 357 358 359 
        360 361 362 363 364 365 366 367 368 369 
        370 371 372 373 374 375 376 377 378 379 
        380 381 382 383 384 385 386 387 388 389 
        390 391 392 393 394 395 396 397 398 399 
        400 401 402 403 404 405 406 407 408 409 
        410 411 412 413 414 415 416 417 418 419 
        420 421 422 423 424 425 426 427 428 429 
        430 431 432 433 434 435 436 437 438 439 
        440 441 442 443 444 445 446 447 448 449 
        450 451 452 453 454 455 456 457 458 459 
        460 461 462 463 464 465 466 467 468 469 
        470 471 472 473 474 475 476 477 478 479 
        480 481 482 483 484 485 486 487 488 489 
        490 491 492 493 494 495 496 497 498 499 
        500 501 502 503 504 505 506 507 508 509 
        510 511 512 513 514 515 516 517 518 519 
        520 521 522 523 524 525 526 527 528 529 
        530 531 532 533 534 535 536 537 538 539 
        540 541 542 543 544 545 546 547 548 549 
        550 551 552 553 554 555 556 557 558 559 
        560 561 562 563 564 565 566 567 568 569 
        570 571 572 573 574 575 576 577 578 579 
        580 581 582 583 584 585 586 587 588 589 
        590 591 592 593 594 595 596 597 598 599 
        600 601 602 603 604 605 606 607 608 609 
        610 611 612 613 614 615 616 617 618 619 
        620 621 622 623 624 625 626 627 628 629 
        630 631 632 633 634 635 636 637 638 639 
        640 641 642 643 644 645 646 647 648 649 
        650 651 652 653 654 655 656 657 658 659 
        660 661 662 663 664 665 666 667 668 669 
        670 671 672 673 674 675 676 677 678 679 
        680 681 682 683 684 685 686 687 688 689 
        690 691 692 693 694 695 696 697 698 699 
        700 701 702 703 704 705 706 707 708 709 
        710 711 712 713 714 715 716 717 718 719 
        720 721 722 723 724 725 726 727 728 729 
        730 731 732 733 734 735 736 737 738 739 
        740 741 742 743 744 745 746 747 748 749 
        750 751 
    INFO: s3mixw_io.c(232): Wrote /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/mixw_counts [752x1x3 array]
    INFO: s3tmat_io.c(174): Wrote /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/tmat_counts [38x4x5 array]
    INFO: s3gau_io.c(478): Wrote /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124/gauden_counts with means with vars [752x1x3 vector arrays]
    INFO: main.c(1033): Counts saved to /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user124
    Mon Jan 25 10:27:56 2010
    
     
  • Jeremie Papon

    Jeremie Papon - 2010-01-25

    So yeah, it ignores all the words in the second iteration still.

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-25

    So what could it mean that I can train a CD tied model, getting about 100
    skipped files (out of 11k) due to errors such as "ERROR: "backward.c", line
    1024: alpha(2.459268e-01) <> sum of alphas * betas (0.000000e+00) in frame 38"
    or "final state not reached" that performs decently, but when I try to perform
    MAP adaptation, it skips every file on the second iteration of BW?

    As far as I can tell, all it should be doing is running a couple of iterations
    of BW and re-estimating the mixture weights. If the data I'm trying to adapt
    to works for making the overall model, why wouldn't it work for updating the
    model?

    Is there some essential difference between the two processes that might cause
    BW for adaptation to fail, but not BW for overall training???

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-25

    As another note, I've made sure that the vars passed to RunTool such as abeam
    and bbeam are the same for the overall training and adaptation modules.

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-26

    Ok, just to prove I'm not going crazy... here's the top of a log from a
    successful BW iteration from training, followed by the same portion of a log
    file for the failed adaptation. As far as I can see it should be executing an
    identical process, with the only difference being the substitution of a single
    writer's lsn and ctl files for the overall transcript and file listing.

            INFO: main.c(196): Compiled on Jan 21 2010 at 12:39:27
    /home/jpapon/TestProject/0.4_8/bin/bw \
     -moddeffn /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.1500.mdef \
     -ts2cbfn .cont. \
     -mixwfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/mixture_weights \
     -mwfloor 1e-05 \
     -tpfloor 1e-05 \
     -tmatfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/transition_matrices \
     -meanfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/means \
     -varfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/variances \
     -ltsoov no \
     -dictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic \
     -fdictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler \
     -ctlfn /home/jpapon/TestProject/0.4_8/etc/0.4_8_train.fileids \
     -part 1 \
     -npart 1 \
     -cepdir /home/jpapon/TestProject/0.4_8/feat \
     -cepext mfc \
     -lsnfn /home/jpapon/TestProject/0.4_8/etc/0.4_8_train2.transcription \
     -accumdir /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_1 \
     -varfloor 0.0001 \
     -topn 3 \
     -abeam 1e-90 \
     -bbeam 1e-10 \
     -agc none \
     -cmn current \
     -varnorm no \
     -meanreest yes \
     -varreest yes -2passvar yes \
     -tmatreest yes \
     -fullvar no \
     -diagfull no \
     -feat 1s_c \
     -ceplen 35 \
     -timing no
    
    [Switch]         [Default] [Value]
    -help            no        no     
    -example         no        no     
    -hmmdir                           
    -moddeffn                  /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.1500.mdef
    -tmatfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/transition_matrices
    -mixwfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/mixture_weights
    -meanfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/means
    -varfn                     /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/variances
    -fullvar         no        no     
    -diagfull        no        no     
    -mwfloor         0.00001   1.000000e-05
    -tpfloor         0.0001    1.000000e-05
    -varfloor        0.00001   1.000000e-04
    -topn            4         3      
    -dictfn                    /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    -fdictfn                   /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    -ltsoov          no        no     
    -ctlfn                     /home/jpapon/TestProject/0.4_8/etc/0.4_8_train.fileids
    -nskip                            
    -runlen          -1        -1     
    -part                      1      
    -npart                     1      
    -cepext          mfc       mfc    
    -cepdir                    /home/jpapon/TestProject/0.4_8/feat
    -phsegext        phseg     phseg  
    -phsegdir                         
    -outphsegdir                      
    -sentdir                          
    -sentext         sent      sent   
    -lsnfn                     /home/jpapon/TestProject/0.4_8/etc/0.4_8_train2.transcription
    -accumdir                  /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_1
    -ceplen          13        35     
    -cepwin          0         0      
    -agc             max       none   
    -cmn             current   current
    -varnorm         no        no     
    -silcomp         none      none   
    -sildel          no        no     
    -siltag          SIL       SIL    
    -abeam           1e-100    1.000000e-90
    -bbeam           1e-100    1.000000e-10
    -varreest        yes       yes    
    -meanreest       yes       yes    
    -mixwreest       yes       yes    
    -tmatreest       yes       yes    
    -mllrmat                          
    -cb2mllrfn       .1cls.    .1cls. 
    -ts2cbfn                   .cont. 
    -feat            1s_c_d_dd 1s_c   
    -ldafn                            
    -ldadim          29        29     
    -ldaaccum        no        no     
    -timing          yes       no     
    -viterbi         no        no     
    -2passvar        no        yes    
    -sildelfn                         
    -spthresh        0.0       0.000000e+00
    -maxuttlen       0         0      
    -ckptintv                         
    -outputfullpath  no        no     
    -fullsuffixmatch no        no     
    -pdumpdir                         
    INFO: main.c(253): Reading /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.1500.mdef
    INFO: model_def_io.c(587): Model definition info:
    INFO: model_def_io.c(588): 4846 total models defined (38 base, 4808 tri)
    INFO: model_def_io.c(589): 24230 total states
    INFO: model_def_io.c(590): 1588 total tied states
    INFO: model_def_io.c(591): 152 total tied CI states
    INFO: model_def_io.c(592): 38 total tied transition matrices
    INFO: model_def_io.c(593): 5 max state/model
    INFO: model_def_io.c(594): 5 min state/model
    INFO: s3mixw_io.c(116): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/mixture_weights [1588x1x3 array]
    INFO: s3tmat_io.c(115): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/transition_matrices [38x4x5 array]
    INFO: mod_inv.c(297): inserting tprob floor 1.000000e-05 and renormalizing
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/means [1588x1x3 array]
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.cd_cont_1500/variances [1588x1x3 array]
    INFO: gauden.c(181): 1588 total mgau
    INFO: gauden.c(155): 1 feature streams (|0|=35 )
    INFO: gauden.c(192): 3 total densities
    INFO: gauden.c(98): min_var=1.000000e-04
    INFO: gauden.c(170): compute 3 densities/frame
    INFO: main.c(361): Will reestimate mixing weights.
    INFO: main.c(363): Will reestimate means.
    INFO: main.c(365): Will reestimate variances.
    INFO: main.c(367): WIll NOT optionally delete silence in Baum Welch or Viterbi. 
    INFO: main.c(375): Will reestimate transition matrices
    INFO: main.c(388): Reading main lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: lexicon.c(233): 100 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: main.c(400): Reading filler lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: lexicon.c(233): 3 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: main.c(421): Silence Tag SIL
    INFO: corpus.c(1343): Will process all remaining utts starting at 0
    INFO: main.c(620): Reestimation: Baum-Welch
    

    And the failed run's log header:

    INFO: main.c(196): Compiled on Jan 21 2010 at 12:39:27
    /home/jpapon/TestProject/0.4_8/bin/bw \
     -moddeffn /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.1500.mdef \
     -ts2cbfn .cont. \
     -mixwfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights \
     -mwfloor 1e-05 \
     -tpfloor 1e-05 \
     -tmatfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices \
     -meanfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means \
     -varfn /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances \
     -ltsoov no \
     -dictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic \
     -fdictfn /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler \
     -cepdir /home/jpapon/TestProject/0.4_8/feat \
     -cepext mfc \
     -ctlfn /home/jpapon/TestProject/0.4_8/etc/user79.ctl \
     -lsnfn /home/jpapon/TestProject/0.4_8/etc/user79.lsn \
     -accumdir /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user79 \
     -varfloor 0.0001 \
     -topn 3 \
     -abeam 1e-90 \
     -bbeam 1e-10 \
     -agc none \
     -cmn current \
     -varnorm no \
     -meanreest yes \
     -varreest yes -2passvar yes \
     -tmatreest yes \
     -fullvar no \
     -diagfull no \
     -feat 1s_c \
     -ceplen 35 \
     -timing no
    
    [Switch]         [Default] [Value]
    -help            no        no     
    -example         no        no     
    -hmmdir                           
    -moddeffn                  /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.1500.mdef
    -tmatfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices
    -mixwfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights
    -meanfn                    /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means
    -varfn                     /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances
    -fullvar         no        no     
    -diagfull        no        no     
    -mwfloor         0.00001   1.000000e-05
    -tpfloor         0.0001    1.000000e-05
    -varfloor        0.00001   1.000000e-04
    -topn            4         3      
    -dictfn                    /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    -fdictfn                   /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    -ltsoov          no        no     
    -ctlfn                     /home/jpapon/TestProject/0.4_8/etc/user79.ctl
    -nskip                            
    -runlen          -1        -1     
    -part                             
    -npart                            
    -cepext          mfc       mfc    
    -cepdir                    /home/jpapon/TestProject/0.4_8/feat
    -phsegext        phseg     phseg  
    -phsegdir                         
    -outphsegdir                      
    -sentdir                          
    -sentext         sent      sent   
    -lsnfn                     /home/jpapon/TestProject/0.4_8/etc/user79.lsn
    -accumdir                  /home/jpapon/TestProject/0.4_8/bwaccumdir/0.4_8_buff_user79
    -ceplen          13        35     
    -cepwin          0         0      
    -agc             max       none   
    -cmn             current   current
    -varnorm         no        no     
    -silcomp         none      none   
    -sildel          no        no     
    -siltag          SIL       SIL    
    -abeam           1e-100    1.000000e-90
    -bbeam           1e-100    1.000000e-10
    -varreest        yes       yes    
    -meanreest       yes       yes    
    -mixwreest       yes       yes    
    -tmatreest       yes       yes    
    -mllrmat                          
    -cb2mllrfn       .1cls.    .1cls. 
    -ts2cbfn                   .cont. 
    -feat            1s_c_d_dd 1s_c   
    -ldafn                            
    -ldadim          29        29     
    -ldaaccum        no        no     
    -timing          yes       no     
    -viterbi         no        no     
    -2passvar        no        yes    
    -sildelfn                         
    -spthresh        0.0       0.000000e+00
    -maxuttlen       0         0      
    -ckptintv                         
    -outputfullpath  no        no     
    -fullsuffixmatch no        no     
    -pdumpdir                         
    INFO: main.c(253): Reading /home/jpapon/TestProject/0.4_8/model_architecture/0.4_8.1500.mdef
    INFO: model_def_io.c(587): Model definition info:
    INFO: model_def_io.c(588): 4846 total models defined (38 base, 4808 tri)
    INFO: model_def_io.c(589): 24230 total states
    INFO: model_def_io.c(590): 1588 total tied states
    INFO: model_def_io.c(591): 152 total tied CI states
    INFO: model_def_io.c(592): 38 total tied transition matrices
    INFO: model_def_io.c(593): 5 max state/model
    INFO: model_def_io.c(594): 5 min state/model
    INFO: s3mixw_io.c(116): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/mixture_weights [1588x1x3 array]
    INFO: s3tmat_io.c(115): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/transition_matrices [38x4x5 array]
    INFO: mod_inv.c(297): inserting tprob floor 1.000000e-05 and renormalizing
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/means [1588x1x3 array]
    INFO: s3gau_io.c(166): Read /home/jpapon/TestProject/0.4_8/model_parameters/0.4_8.sat_cont/variances [1588x1x3 array]
    INFO: gauden.c(181): 1588 total mgau
    INFO: gauden.c(155): 1 feature streams (|0|=35 )
    INFO: gauden.c(192): 3 total densities
    INFO: gauden.c(98): min_var=1.000000e-04
    INFO: gauden.c(170): compute 3 densities/frame
    INFO: main.c(361): Will reestimate mixing weights.
    INFO: main.c(363): Will reestimate means.
    INFO: main.c(365): Will reestimate variances.
    INFO: main.c(367): WIll NOT optionally delete silence in Baum Welch or Viterbi. 
    INFO: main.c(375): Will reestimate transition matrices
    INFO: main.c(388): Reading main lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: lexicon.c(233): 100 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.dic
    INFO: main.c(400): Reading filler lexicon: /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: lexicon.c(233): 3 entries added from /home/jpapon/TestProject/0.4_8/etc/0.4_8.filler
    INFO: main.c(421): Silence Tag SIL
    INFO: corpus.c(1343): Will process all remaining utts starting at 0
    INFO: main.c(620): Reestimation: Baum-Welch
    

    first line from Control file for main run
    word1/12-1
    first line from transcript file for main run
    4_41_7_41 (12-1)

    first line from Control file for adaptation
    word2/79-2
    first line from transcript file for adaptation
    33_1_34 (79-2)

     
  • Nickolay V. Shmyrev

    with the only difference being the substitution of a single writer's lsn and
    ctl files for the overall transcript and file listing.

    From your past it's not the only one. In the first case it's cd_cont model, in
    the second it's sat_cont. So probably there is issue with the model, not with
    the transcription format.

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-26

    I thought sat_cont was just a copy of the overall model that the Sphinxtrain
    scripts create; the means file etc in it are the exact same size as the
    overall model.
    I'm going to try increasing the adaptation set size by adding in files from
    other writers to see if I can get it to converge... at least then I'll know if
    it's just a question of needing more data.

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-27

    I've narrowed it down to the map.pl script; it's output is bad, and since that
    output is used for the second iteration of BW, it causes adaptation to fail.
    Now to fool around with it to see if I can get anything interesting.

     
  • Jeremie Papon

    Jeremie Papon - 2010-01-27

    I passed the arg -bayesmean => "no" to the map_adapt program, and it works
    now... or at the very least, it successfully completes adaptation!
    I guess for whatever reason that portion of map_adapt is broken (for me
    anyways).

     

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.