Menu

mod_inv.c gives an mixture_weight error

Help
kk_huk
2016-06-20
2016-06-20
  • kk_huk

    kk_huk - 2016-06-20

    Hi guys,
    I have been tring to adapt the default acoustic model with following this article
    Right now I am on the "Accumulating observation counts" step.
    When I write these code blocks :

    ./bw \
     -hmmdir en-us \
     -moddeffn en-us/mdef.txt \
     -ts2cbfn .ptm. \
     -feat 1s_c_d_dd \
     -svspec 0-12/13-25/26-38 \
     -cmn current \
     -agc none \
     -dictfn cmudict-en-us.dict \
     -ctlfn arctic20.fileids \
     -lsnfn arctic20.transcription \
     -accumdir .
    

    it gives errors.

    WARN: "mod_inv.c", line 353: Number of tied states in mdef file 5126 differs fro
    m the number of mixtures 5138 in en-us/mixture_weights, do files belong to th
    e same model?
    FATAL: "mod_inv.c", line 358: Number of feature streams in mixture_weights file
    1 differs from the configured value 3, check the command line options

    I have downloaded the mixture_weights file inside of cmusphinx-en-us-ptm-5.2.tar.gz from this link.

    I have downloaded cmusphinx-en-us-ptm-5.2.tar.gz file because the article says that.

    Anybody help me ?

     
    • Nickolay V. Shmyrev

      You mistakenly took mixture_weights from cmusphinx-en-us-5.2.tar.gz not from cmusphinx-en-us-ptm-5.2.tar.gz.

       

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.