Menu

AN4 training minor problems

Help
yazanj
2005-10-17
2012-09-22
  • yazanj

    yazanj - 2005-10-17

    I'm running SphinxTrain on the an4-bigendian data I used the following steps:

    directory structure

    /home/train/SphinxTrain
    /home/train/an4
    /home/train/an4/wave
    /home/train/an4/etc

    the first contains Sphinxtrain configured and built without errors, and the rest are just the default an4 package unpacked.

    ():~/an4> ../SphinxTrain/scripts_pl/setup_SphinxTrain.pl -task an4
    ():~/an4> perl ../SphinxTrain/scripts_pl/setup_tutorial.pl an4
    ():~/an4> ./scripts_pl/make_feats.pl -ctl etc/an4_train.transcription

    I had to make a couple changes to ~/an4/scripts_pl/make_feats.pl so it can extract features from raw files with raw extension and to adapt to big-endian input. the changed part now looks like this:

    system("bin/wave2feat -verbose yes -c \"$ctl\" -raw yes " "-di wav -ei raw -input_endian big -do \"$CFG_FEATFILES_DIR\"
    " "-eo \"$CFG_FEATFILE_EXTENSION\"");

    then I ran the script RunAll
    ():~/an4> ./scripts_pl/RunAll.pl

    I need someone to tell me what outputs are expected in the
    model_architecture and model_parameters directory, in general what files and folders
    I need to have so I can use Sphinx after that. And more importantly I would really appreciate
    it if any body can tell my whay this error pops up at stage 7 of training:

    syntax error at /home/yazan/src/sphinx-tech/an4/scripts_pl/07.cd-schmm/split_gaussians.pl line 74, near ""Current: $n_current, increase by: $n_inc, desired total: $CFG_FINAL_NUM_DENSITIES\n";"
    syntax error at /home/yazan/src/sphinx-tech/an4/scripts_pl/07.cd-schmm/split_gaussians.pl line 76, near "}"
    Execution of /home/yazan/src/sphinx-tech/an4/scripts_pl/07.cd-schmm/split_gaussians.pl aborted due to compilation errors.

    Thanx in advance

     
    • Evandro B. Gouvea

      Hi,

      Thanks for reporting the problems.

      The files under model_parameters and model_architecture will be as follows:

      model_architecture: files describing the model architecture, text file with information such as model definition (list of phones, triphones with associated senones), topology, etc.

      model_parameters: binary files containing the means, variance, etc for the HMMs, for each stage in the process (CI models, CD models, CD tied models etc).

      The syntax error you found is a ";" too many. Please remove the ";" just before the closing parenthesis. I just changed the repository to reflect this fix. It should be available from the CVS repository now, and from the nightly build tomorrow morning.

      --Evandro

       

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.