Menu

-moddeffn and ts2cbfn not work with map_adapt

Help
Javi
2015-04-02
2015-05-20
  • Javi

    Javi - 2015-04-02

    Hello,

    If I try to execute this I get a error:

    ./map_adapt -moddeffn es_ES/mdef.txt
    -ts2cbfn .ptm.
    -meanfn es_ES/means
    -varfn es_ESs/variances
    -mixwfn es_ES/mixture_weights
    -tmatfn es_ES/transition_matrices
    -accumdir .
    -mapmeanfn es_ES-adapt/means
    -mapvarfn es_ES-adapt/variances
    -mapmixwfn es_ES-adapt/mixture_weights
    -maptmatfn es_ES-adapt/transition_matrices

    ERROR: "cmd_ln.c", line 604: Unknown argument name '-moddeffn'
    ERROR: "cmd_ln.c", line 718: Failed to parse arguments list
    ERROR: "cmd_ln.c", line 767: Failed to parse arguments list, forced exit

    -moddeffn and -ts2cbfn arguments not works with ./map_adapt

    ./map_adapt
    ERROR: "cmd_ln.c", line 679: No arguments given, available options are:
    Arguments list definition:
    [NAME] [DEFLT] [DESCR]
    -accumdir One or more paths containing reestimation sums from running bw on adaptation data
    -bayesmean yes Use simple Bayesian updating for the means, ignoring tau (recommended).
    -example no Shows example of how to use the tool
    -fixedtau no Use a uniform value for the prior hyperparameter tau
    -help no Shows the usage of the tool
    -mapmeanfn The output MAP mean file
    -mapmixwfn The output MAP mixture weight file
    -maptmatfn The output MAP transition matrix file
    -mapvarfn The output MAP var file
    -meanfn Baseline (speaker-independent) Gaussian density mean file
    -mixwfn Baseline (speaker-independent) mixture weight parameter file name
    -mwfloor 0.00001 Mixing weight smoothing floor
    -tau 10.0 The uniform value for the tau (prior weight) hyperparameter
    -tmatfn Baseline (speaker-independent) transition matrix parameter file name
    -tpfloor 0.0001 Transition probability smoothing floor
    -varfloor 0.00001 Variance smoothing floor
    -varfn Baseline (speaker-independent) Gaussian density variance file

    ERROR: "cmd_ln.c", line 767: Failed to parse arguments list, forced exit

    http://cmusphinx.sourceforge.net/wiki/tutorialadapt#updating_the_acoustic_model_files_with_map

    Regards,
    -Javier

    PD: I used the latest available releases from Sourforge http://cmusphinx.sourceforge.net/wiki/download on Raspbian (Raspberry Pi B+)

     

    Last edit: Javi 2015-04-02
    • Nickolay V. Shmyrev

      Checkout sphinxtrain from github, this feature requires latest code.

       
  • Javi

    Javi - 2015-04-02

    Thank you!

     
  • vuthien

    vuthien - 2015-05-20

    I execute with sphinxtrain-5prealpha but still get the error

    thien@ubuntu:~/Desktop/testtrain$ ./map_adapt \

    -mapdeffn en-us/mdef.txt \
    -ts2cbfn .ptm. \
    -meanfn en-us/means \
    -varfn en-us/variances \
    -mixwfn en-us/mixture_weights \
    -tmatfn en-us/transition_matrices \
    -accumdir . \
    -mapmeanfn en-us-adapt/means \
    -mapvarfn en-us-adapt/variances \
    -mapmixwfn en-us-adapt/mixture_weights \
    -maptmatfn en-us-adapt/transition_matrices
    

    ERROR: "cmd_ln.c", line 604: Unknown argument name '-mapdeffn'
    ERROR: "cmd_ln.c", line 718: Failed to parse arguments list
    ERROR: "cmd_ln.c", line 767: Failed to parse arguments list, forced exit

    please help me!

     
  • Nickolay V. Shmyrev

    Option name is moddeffn, not mapdeffn. od, not ap.

     
  • vuthien

    vuthien - 2015-05-20

    Thank you

     

Log in to post a comment.