Acoustic Model Discussions

Nested
error with regression class tree creation with HHEd
User: aitmokam
Date: 3/9/2009 8:27 am
Views: 6588
Rating: 2

Hi,

I am trying to adapt a speaker independent HMM set to a particular speaker.

when I perform HHEd  -T 1 -H hmms/hmm10/hmmDefs -M classes regtree.hed monophones1 , it can't generate the regression tree. I have the following error message:

ERROR [+7231]  ChkType: Attempt to form list from different types h and m

my regtree.hed file is as follows:

RN "models"
LS    "stats"
RC 32    "rtree" {sil.state[1-5].mix}

Can somebody help solving this problem?

 

 

 

 

--- (Edited on 3/9/2009 8:27 am [GMT-0500] by aitmokam) ---

Re: error with regression class tree creation with HHEd
User: nsh
Date: 3/9/2009 8:14 pm
Views: 59
Rating: 2

Somehow your hmmdDefs have shared mixture macro ~m inside, which is not allowed by one of the commands you are trying to use since they expect only ~h. Probably you can just drop RN, while RC can also be problematic.

 

--- (Edited on 3/9/2009 8:14 pm [GMT-0500] by nsh) ---

Re: error with regression class tree creation with HHEd
User: aitmokam
Date: 3/10/2009 7:14 am
Views: 75
Rating: 2

Thank you for the quick answer,


I have the same error message when dropping the RN command.

There is no ~m macro in my hmmDefs file. Here is a sample from it:

~o
<STREAMINFO> 1 22
<VECSIZE> 22<NULLD><USER><DIAGC>
~h "AA"
<BEGINHMM>
<NUMSTATES> 4
<STATE> 2
<NUMMIXES> 5
<SWEIGHTS> 1
 1.000000e+00
<MIXTURE> 1 2.000315e-01
<MEAN> 22
 9.921931e+00 2.743556e+00 9.717430e-01 6.160116e-01 5.267262e-01 2.426586e+03 1.843987e+00 1.556020e+00 4.232564e-01 3.822784e-01 3.285818e-01 2.979206e-01 3.333639e-01 2.333441e-01 3.518595e-01 2.011956e-01 2.067723e-01 3.088316e-01 8.412183e+00 5.331952e+01 5.073625e-01 1.008727e+02
<VARIANCE> 22
 1.523522e+02 4.714711e+06 5.705830e+01 6.242928e+06 3.521173e+00 1.054059e+10 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 5.782706e+06 4.780802e+00 5.248710e+06 1.904829e+01 6.279814e+06 1.996659e+02 1.069904e+08 2.348574e+01 2.073927e+08
<GCONST> 2.798700e+02
<MIXTURE> 2 2.000315e-01
<MEAN> 22
 9.921931e+00 2.743556e+00 9.717430e-01 6.160116e-01 5.267262e-01 2.426586e+03 1.843987e+00 1.556020e+00 4.232564e-01 3.822784e-01 3.285818e-01 2.979206e-01 3.333639e-01 2.333441e-01 3.518595e-01 2.011956e-01 2.067723e-01 3.088316e-01 8.412183e+00 5.331952e+01 5.073625e-01 1.008727e+02
<VARIANCE> 22
 1.523522e+02 4.714711e+06 5.705830e+01 6.242928e+06 3.521173e+00 1.054059e+10 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 5.782706e+06 4.780802e+00 5.248710e+06 1.904829e+01 6.279814e+06 1.996659e+02 1.069904e+08 2.348574e+01 2.073927e+08
<GCONST> 2.798700e+02
<MIXTURE> 3 2.000315e-01
<MEAN> 22
 9.921931e+00 2.743556e+00 9.717430e-01 6.160116e-01 5.267262e-01 2.426586e+03 1.843987e+00 1.556020e+00 4.232564e-01 3.822784e-01 3.285818e-01 2.979206e-01 3.333639e-01 2.333441e-01 3.518595e-01 2.011956e-01 2.067723e-01 3.088316e-01 8.412183e+00 5.331952e+01 5.073625e-01 1.008727e+02
<VARIANCE> 22
 1.523522e+02 4.714711e+06 5.705830e+01 6.242928e+06 3.521173e+00 1.054059e+10 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 5.782706e+06 4.780802e+00 5.248710e+06 1.904829e+01 6.279814e+06 1.996659e+02 1.069904e+08 2.348574e+01 2.073927e+08
<GCONST> 2.798700e+02
<MIXTURE> 4 2.000315e-01
<MEAN> 22
 9.921931e+00 2.743556e+00 9.717430e-01 6.160116e-01 5.267262e-01 2.426586e+03 1.843987e+00 1.556020e+00 4.232564e-01 3.822784e-01 3.285818e-01 2.979206e-01 3.333639e-01 2.333441e-01 3.518595e-01 2.011956e-01 2.067723e-01 3.088316e-01 8.412183e+00 5.331952e+01 5.073625e-01 1.008727e+02
<VARIANCE> 22
 1.523522e+02 4.714711e+06 5.705830e+01 6.242928e+06 3.521173e+00 1.054059e+10 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 5.782706e+06 4.780802e+00 5.248710e+06 1.904829e+01 6.279814e+06 1.996659e+02 1.069904e+08 2.348574e+01 2.073927e+08
<GCONST> 2.798700e+02
<MIXTURE> 5 2.000315e-01
<MEAN> 22
 9.921931e+00 2.743556e+00 9.717430e-01 6.160116e-01 5.267262e-01 2.426586e+03 1.843987e+00 1.556020e+00 4.232564e-01 3.822784e-01 3.285818e-01 2.979206e-01 3.333639e-01 2.333441e-01 3.518595e-01 2.011956e-01 2.067723e-01 3.088316e-01 8.412183e+00 5.331952e+01 5.073625e-01 1.008727e+02
<VARIANCE> 22
 1.523522e+02 4.714711e+06 5.705830e+01 6.242928e+06 3.521173e+00 1.054059e+10 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 5.782706e+06 4.780802e+00 5.248710e+06 1.904829e+01 6.279814e+06 1.996659e+02 1.069904e+08 2.348574e+01 2.073927e+08
<GCONST> 2.798700e+02
<STATE> 3
<NUMMIXES> 5
<SWEIGHTS> 1
 1.000000e+00
<MIXTURE> 1 2.000406e-01
<MEAN> 22
 5.220760e+00 1.251862e+00 -7.206001e-01 3.875371e-02 3.503688e-01 1.897977e+03 1.547090e+00 1.372482e+00 2.893572e-01 2.800016e-01 3.407745e-01 2.383329e-01 2.810786e-01 1.177653e+02 2.998856e-01 2.837351e-01 2.879396e-01 1.463679e-01 3.714165e-01 2.300745e-01 3.484045e-01 4.132278e+00
<VARIANCE> 22
 1.404259e+02 4.714711e+06 4.310163e+02 6.242928e+06 1.000364e+01 8.157489e+09 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 2.434731e+08 3.249020e+00 5.248710e+06 3.211371e+00 6.279814e+06 6.461002e+00 5.782673e+06 6.326668e+00 5.745788e+06
<GCONST> 2.729255e+02
<MIXTURE> 2 2.000406e-01
<MEAN> 22
 5.220760e+00 1.251862e+00 -7.206001e-01 3.875371e-02 3.503688e-01 1.897977e+03 1.547090e+00 1.372482e+00 2.893572e-01 2.800016e-01 3.407745e-01 2.383329e-01 2.810786e-01 1.177653e+02 2.998856e-01 2.837351e-01 2.879396e-01 1.463679e-01 3.714165e-01 2.300745e-01 3.484045e-01 4.132278e+00
<VARIANCE> 22
 1.404259e+02 4.714711e+06 4.310163e+02 6.242928e+06 1.000364e+01 8.157489e+09 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 2.434731e+08 3.249020e+00 5.248710e+06 3.211371e+00 6.279814e+06 6.461002e+00 5.782673e+06 6.326668e+00 5.745788e+06
<GCONST> 2.729255e+02
<MIXTURE> 3 2.000406e-01
<MEAN> 22
 5.220760e+00 1.251862e+00 -7.206001e-01 3.875371e-02 3.503688e-01 1.897977e+03 1.547090e+00 1.372482e+00 2.893572e-01 2.800016e-01 3.407745e-01 2.383329e-01 2.810786e-01 1.177653e+02 2.998856e-01 2.837351e-01 2.879396e-01 1.463679e-01 3.714165e-01 2.300745e-01 3.484045e-01 4.132278e+00
<VARIANCE> 22
 1.404259e+02 4.714711e+06 4.310163e+02 6.242928e+06 1.000364e+01 8.157489e+09 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 2.434731e+08 3.249020e+00 5.248710e+06 3.211371e+00 6.279814e+06 6.461002e+00 5.782673e+06 6.326668e+00 5.745788e+06
<GCONST> 2.729255e+02
<MIXTURE> 4 2.000406e-01
<MEAN> 22
 5.220760e+00 1.251862e+00 -7.206001e-01 3.875371e-02 3.503688e-01 1.897977e+03 1.547090e+00 1.372482e+00 2.893572e-01 2.800016e-01 3.407745e-01 2.383329e-01 2.810786e-01 1.177653e+02 2.998856e-01 2.837351e-01 2.879396e-01 1.463679e-01 3.714165e-01 2.300745e-01 3.484045e-01 4.132278e+00
<VARIANCE> 22
 1.404259e+02 4.714711e+06 4.310163e+02 6.242928e+06 1.000364e+01 8.157489e+09 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 2.434731e+08 3.249020e+00 5.248710e+06 3.211371e+00 6.279814e+06 6.461002e+00 5.782673e+06 6.326668e+00 5.745788e+06
<GCONST> 2.729255e+02
<MIXTURE> 5 2.000406e-01
<MEAN> 22
 5.220760e+00 1.251862e+00 -7.206001e-01 3.875371e-02 3.503688e-01 1.897977e+03 1.547090e+00 1.372482e+00 2.893572e-01 2.800016e-01 3.407745e-01 2.383329e-01 2.810786e-01 1.177653e+02 2.998856e-01 2.837351e-01 2.879396e-01 1.463679e-01 3.714165e-01 2.300745e-01 3.484045e-01 4.132278e+00
<VARIANCE> 22
 1.404259e+02 4.714711e+06 4.310163e+02 6.242928e+06 1.000364e+01 8.157489e+09 9.627920e+11 5.745820e+06 3.230699e+00 4.714712e+06 3.304768e+00 6.242928e+06 3.247776e+00 2.434731e+08 3.249020e+00 5.248710e+06 3.211371e+00 6.279814e+06 6.461002e+00 5.782673e+06 6.326668e+00 5.745788e+06
<GCONST> 2.729255e+02
<TRANSP> 4
 0.000000e+00 1.000000e+00 0.000000e+00 0.000000e+00
 0.000000e+00 1.828598e-01 8.171402e-01 0.000000e+00
 0.000000e+00 0.000000e+00 3.736852e-01 6.263148e-01
 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00
<ENDHMM>

Do you see any mistake in it?

 

--- (Edited on 3/10/2009 7:14 am [GMT-0500] by Visitor) ---

Re: error with regression class tree creation with HHEd
User: nsh
Date: 3/10/2009 3:11 pm
Views: 71
Rating: 2

Can you just share all the files required to reproduce the problem?

--- (Edited on 3/10/2009 3:11 pm [GMT-0500] by nsh) ---

Re: error with regression class tree creation with HHEd
User: aitmokam
Date: 3/11/2009 5:27 am
Views: 67
Rating: 2

I didn't know how to upload the files into the forum, so I uploaded them to rapidshare.com. Here is the link to access the files:

http://rapidshare.com/files/207883146/HHEd_files.tar.gz.html

 

 

--- (Edited on 3/11/2009 5:27 am [GMT-0500] by aitmokam) ---

Re: error with regression class tree creation with HHEd
User: nsh
Date: 3/11/2009 5:12 pm
Views: 2420
Rating: 3

Thanks, I posted the reply on htk-users.

--- (Edited on 3/11/2009 5:12 pm [GMT-0500] by nsh) ---

PreviousNext