Acoustic Model Discussions

Flat
HMM Def Error: Mean Vector expected at line 6/col 66/char 117 in hmm0/hmmdefs ...
User: Jikkan
Date: 6/22/2020 10:33 am
Views: 3791
Rating: 0

Hi all. When i try to give this command:

HERest -A -D -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H hmm0/macros -H hmm0/hmmdefs -M hmm1 monophones0

I receive the error:

HMM Def Error: Mean Vector expected at line 6/col 66/char 117 in hmm0/hmmdefs
  ERROR [+7050]  HMError:
HMM Def Error: GetMean Failed at line 7/col 0/char 118 in hmm0/hmmdefs
  ERROR [+7050]  HMError:
HMM Def Error: Regression Class Number expected at line 7/col 1/char 119 in hmm0/hmmdefs
  ERROR [+7050]  HMError:
HMM Def Error: GetMixtures failed at line 7/col 2/char 120 in hmm0/hmmdefs
  ERROR [+7050]  HMError:
HMM Def Error: GetStream failed at line 7/col 3/char 121 in hmm0/hmmdefs
  ERROR [+7050]  HMError:
HMM Def Error: GetStateInfo failed at line 7/col 4/char 122 in hmm0/hmmdefs
  ERROR [+7050]  HMError:
HMM Def Error: LoadAllMacros: GetHMMDef failed at line 1/col 0/char -1 in hmm0/hmmdefs
  ERROR [+7050]  HMError:
  ERROR [+7050]  LoadHMMSet: Macro name expected
  ERROR [+2321]  Initialise: LoadHMMSet failed
 FATAL ERROR - Terminating program HERest

This is my hmmdef:

~h "a"
<BEGINHMM>
<NUMSTATES> 5
<STATE> 2
<MEAN> 25
 1.746610e-08 -4.054036e-08 6.165283e-08 9.876516e-09 1.066814e-0>
<VARIANCE> 25
 8.948923e+01 4.385039e+01 6.782340e+01 5.652588e+01 5.949046e+01>
<GCONST> 1.042762e+02
<STATE> 3
<MEAN> 25
 1.746610e-08 -4.054036e-08 6.165283e-08 9.876516e-09 1.066814e-0>
<VARIANCE> 25
 8.948923e+01 4.385039e+01 6.782340e+01 5.652588e+01 5.949046e+01>
<GCONST> 1.042762e+02
<STATE> 4
<MEAN> 25
 1.746610e-08 -4.054036e-08 6.165283e-08 9.876516e-09 1.066814e-0>
<VARIANCE> 25
 8.948923e+01 4.385039e+01 6.782340e+01 5.652588e+01 5.949046e+01>
<GCONST> 1.042762e+02
<TRANSP> 5
 0.000000e+00 1.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
 0.000000e+00 6.000000e-01 4.000000e-01 0.000000e+00 0.000000e+00
 0.000000e+00 0.000000e+00 6.000000e-01 4.000000e-01 0.000000e+00
 0.000000e+00 0.000000e+00 0.000000e+00 7.000000e-01 3.000000e-01
 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
<ENDHMM>
~h "b"
...
and so on.

Thanks!

--- (Edited on 6/22/2020 10:33 am [GMT-0500] by ) ---

Re: HMM Def Error: Mean Vector expected at line 6/col 66/char 117 in hmm0/hmmdefs ...
User: Jikkan
Date: 6/23/2020 4:20 pm
Views: 67
Rating: 1

I don't know what was wrong, but i've solved this error trying the procedure from the beginning.

--- (Edited on 6/23/2020 4:20 pm [GMT-0500] by ) ---

Re: HMM Def Error: Mean Vector expected at line 6/col 66/char 117 in hmm0/hmmdefs ...
User: kmaclean
Date: 6/25/2020 10:30 am
Views: 1701
Rating: 0

thanks for update

--- (Edited on 6/25/2020 11:30 am [GMT-0400] by kmaclean) ---

PreviousNext