Menu

Bldtree Question

Help
2010-06-29
2012-09-22
  • Jeremie Papon

    Jeremie Papon - 2010-06-29

    Ok... sorry for having to ask this... but for some reason my SphinxTrain won't
    work anymore. I get the following error:

    /home/jpapon/Desktop/MMIE Training Files/GC_2.0_7_5000_5/bin/bldtree \
    -treefn /home/jpapon/Desktop/MMIE Training Files/GC_2.0_7_5000_5/trees/GC_2.0_7_5000_5.unpruned/UrduLetter1-5.dtree \
    -moddeffn /home/jpapon/Desktop/MMIE Training Files/GC_2.0_7_5000_5/model_architecture/GC_2.0_7_5000_5.untied.mdef \
    -mixwfn /home/jpapon/Desktop/MMIE Training Files/GC_2.0_7_5000_5/model_parameters/GC_2.0_7_5000_5.cd_cont_untied/mixture_weights \
    -ts2cbfn .cont. \
    -mwfloor 1e-08 \
    -psetfn /home/jpapon/Desktop/MMIE Training Files/GC_2.0_7_5000_5/model_architecture/GC_2.0_7_5000_5.tree_questions \
    -phone UrduLetter1 \
    -state 5 \
    -stwt \
    -meanfn /home/jpapon/Desktop/MMIE Training Files/GC_2.0_7_5000_5/model_parameters/GC_2.0_7_5000_5.cd_cont_untied/means \
    -varfn /home/jpapon/Desktop/MMIE Training Files/GC_2.0_7_5000_5/model_parameters/GC_2.0_7_5000_5.cd_cont_untied/variances \
    -fullvar no \
    -ssplitmin 1 \
    -ssplitmax 7 \
    -ssplitthr 0 \
    -csplitmin 1 \
    -csplitmax 2000 \
    -csplitthr 0

    ERROR: "cmd_ln.c", line 525: Expecting '/home/jpapon/Desktop/MMIE Training
    Files/GC_2.0_7_5000_5/bin/bldtree -switch_1 <arg_1> -switch_2 <arg_2> ...' </arg_2></arg_1>

    I could swear I've seen this error before, but searching through the forums
    revealed nothing.
    Anyone know what this error means?

     
  • Nickolay V. Shmyrev

    That's because you have too many states per phone I think

    -stwt => @stwt,

    in your case turns into

    -stwt

    So argument is missing. See this part

    my @stwt;
    if ($ST::CFG_STATESPERHMM == 5) {
    @stwt = qw(1.0 0.3 0.1 0.01 0.001);
    } elsif ($ST::CFG_STATESPERHMM == 4) {
    @stwt = qw(1.0 0.1 0.0 0.0);
    } elsif ($ST::CFG_STATESPERHMM == 3) {
    @stwt = qw(1.0 0.05 0.0);
    } elsif ($ST::CFG_STATESPERHMM == 2) {
    @stwt = qw(1.0 0.025);
    } elsif ($ST::CFG_STATESPERHMM == 1) {
    @stwt = qw(1);
    }

     
  • Jeremie Papon

    Jeremie Papon - 2010-06-30

    Woops! I was using the new version from trunk and forgot to edit that script
    to add in a state weight vector for 7 states per hmm!

    Thanks again buddy!

     

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.