Menu

how to use the printp command to read the mean, variance, mixture weights of the acoustic model

Help
tmt
2016-04-20
2016-04-28
  • tmt

    tmt - 2016-04-20

    I am using phinxtrain-5prealpa in ubuntu 14.04. I want to read the mean, variance files of the acoustic model. I have used printp -gaufn means command to read. But i am getting an error saying, printp command is not found.

    erorr::

    No command 'printp' found, did you mean:
    Command 'printf' from package 'coreutils' (main)
    Command 'print' from package 'mime-support' (main)
    printp: command not found

    how can I solve this trouble?

     
    • Nickolay V. Shmyrev

      printp is installed in /usr/local/libexec/sphinxtrain, so you can run it from there.

       
  • tmt

    tmt - 2016-04-21

    I have tried to run it from /usr/local/libexec/sphinxtrain. But I am not sure of how do we give the path of the mean file.

    Following is the error i got.

    thanky@thanky-HP-15-Notebook-PC:/usr/local/libexec/sphinxtrain$ ./printp -gaufn means
    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -example no no
    -fullgaufn
    -gaucntfn
    -gaufn means
    -help no no
    -lambdafn
    -lambdamax 1 1.000000e+00
    -lambdamin 0 0.000000e+00
    -lda
    -mixwe 0
    -mixwfn
    -mixws 0
    -moddeffn
    -norm yes yes
    -regmatcntfn
    -sigfig 4 4
    -tmatfn
    -ts2cbfn

    INFO: main.c(169): Reading means
    ERROR: "s3io.c", line 260: Unable to open means for reading: No such file or directory
    FATAL: "main.c", line 550: Please specify input by either -tmatfn, -mixwfn, -gaufn, -gaucntfn, -regmatcntfn, -lda, -ts2cbfn or -lambdafn

    I also gave the command like ::::

    thanky@thanky-HP-15-Notebook-PC:/usr/local/libexec/sphinxtrain$ ./printp -gaufn /home/mproj/db/sample/model_parameters/sample.cd_cont_200/means
    to make sure that the path to mean file is correct. Again observed the same error. Please correct the mistake that I made.

     
  • tmt

    tmt - 2016-04-28

    Can anyone please help me to use the printp command.

     
    • Nickolay V. Shmyrev

      This command

       /usr/local/libexec/sphinxtrain/printp -gaufn /home/mproj/db/sample/model_parameters/sample.cd_cont_200/means
      

      Is correct and should give you proper results.

       

Log in to post a comment.