Menu

cd_cont_200 does not contain acoustic model definition mdef

Help
2016-05-27
2016-05-27
  • Ahmed Memon

    Ahmed Memon - 2016-05-27

    Hi,

    I am on Windows 7 64 bit. Trying to build accoustic model. PocketSphinx decoder init failed when it do not find gv2.cd_cont_200.

    Wav and other files could be downloaded from here https://www.dropbox.com/s/k0reigot8h5nsvi/gv2.zip?dl=0

    I found that it is not creating this directory (gv2.cd_cont_200) at all, however when I manually rename the directory gv2\model_parameters\gv2.ci_cont to the required one it work fine and give good results.

    Notice that these are very very small wav files, that is why I have set $CFG_CD_TRAIN = 'no';

    Kindly help.

     
  • Nickolay V. Shmyrev

    This is an expected behaviour. When you set cd_train to no, cd model is not created. You need to use ci_cont model instead, you can change corresponding value on sphinx_train.cfg file.

     
  • Ahmed Memon

    Ahmed Memon - 2016-05-27

    Thanks Nick.

    $DEC_CFG_MODEL_NAME is the variable that should be adjusted.

    I've commented out following line
    $DEC_CFG_MODEL_NAME = "$CFG_EXPTNAME.cd_${CFG_DIRLABEL}_${CFG_N_TIED_STATES}";

    to

    $DEC_CFG_MODEL_NAME = "$CFG_EXPTNAME.ci_${CFG_DIRLABEL}";

    and it worked.

     

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.