Menu

Training the acoustic model

Help
Leimiaoren
2015-11-09
2023-09-13
  • Leimiaoren

    Leimiaoren - 2015-11-09

    Can someone direct me to a step by step training of acoustic models in windows?
    The offered tutorials online for training the acoustic model in windows is so vagued. Even the README file inside the package of sphinxtrain and sphinxbase vagued.

    CAN SOMEONE JUST PLEASE ELABORATE TO ME WHAT I NEED TO DO. I have already spent a week trying to train my acoustic model.

     

    Last edit: Leimiaoren 2015-11-09
    • Nickolay V. Shmyrev

       
      • Leimiaoren

        Leimiaoren - 2015-11-09

        You don't understand, you are a programmer your whole life. Its so easy for you to understand those but I am not a programmer. I have already read that a hundred times and that tutorial is for LINUX. The windows part is always vagued. It says run this and that but it does not specify where do I have to run those lines.

         
      • Leimiaoren

        Leimiaoren - 2015-11-09

        It did not even mentioned that it has to compile the sphinxtrain in visual studios.

         
  • Nickolay V. Shmyrev

    You do not have to be a programmer, just need to read the tutorial and follow the instructions.

    The tutorial says:

    To start the training change to the database folder and run the following commands

    which describes location to run precisely

    You do not need to compile sphinxtrain, there are already prebuilt binaries in downloads.

    If you have any other specific question you are welcome to ask.

     
    • Nickolay V. Shmyrev

      Also please note the following in the beginning of the tutorial

      When you don't need to train

      You need to improve accuracy - do acoustic model adaptation instead
      You don't have enough data - do acoustic model adaptation instead
      You don't have enough time
      You don't have enough experience

      This might be applicable to your case

       
    • Leimiaoren

      Leimiaoren - 2015-11-09

      I have been asking in different threads and still can't find the answer to these questions. First, I really need to train my acoustic model for I am not going to work for the English Language. Its a dialect from a small part of the Philippines.

      Second, I already downloaded SphinxBase and SphinxTrain. I checked the inside and I don't know what file to run. It was not mentioned in the link you have given me. I was assuming that the first step after all was just to run the following commands

      "python ../sphinxtrain/scripts/sphinxtrain -t an4 setup"

      This is what it says in my CMD

       
      • Nickolay V. Shmyrev

        You need to download prebuild sphinxtrain package for windows and put it in sphinxtrain folder together with an4 (not SphinxTrain). If you actually read the line you are trying to run and compare it with the actual layout of your filesystem you can easily figure out what is wrong.

         
        • Leimiaoren

          Leimiaoren - 2015-11-09

          Hi, prebuild sphinxtrain package. Do you mean from this?

          "sphinxtrain-5prealpha-win32.zip"

          I placed my database folder "an4" inside sphinxtrain. And thats the message now in my cmd

           
        • Leimiaoren

          Leimiaoren - 2015-11-10

          Hi Sir Nickolay. So I redownloaded sphinxtrain and tried to run the commands again. This was the message. but i thought

          "This will copy all the required configuration files into etc subfolder of your database folder and prepare database for training, the structure after setup will be:"

           
  • Nickolay V. Shmyrev

    Your file structure is wrong, an4 and sphinxtrain must be inside single folder as pointed in tutorial, not one inside another.

     
  • VINOD KUMAR

    VINOD KUMAR - 2018-04-05

    Hi Nickolay....firstly you are doing fantastic work by helping others like me.

    I am doing the acoustic model training on Windows and after running the command "sphinxtrain -t an4 setup", I am only seeting "feat.params" and "sphinx_train.cfg" getting created. Just wanted to check if I am doing anything wrong ?

    since Not able to see other files /folders e.g. "model_parameters ", "model_architecture ", html or log . please suggest

     
  • prathna

    prathna - 2023-09-13

    hello.. i want to ask something.. on windows.. cmake is not available..what should i do? when i downloaded it its not working.its the same

     

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.