Tuesday, March 8, 2011

[HTK] HLDA transform estimation for High dimensional features

For the TANDEM system, we could either train a set of HMM models on the projected posterior features, we could also train them directly on the posteriors and then using HTK to do a HLDA projection to reduce the dimension of the feature. 

However, there is a limitation to the dimension of the feature vectors used: the dimension should be smaller than 100.

This is due to the HMath.c file, in which, there are several functions have defined some local array with the fixed length 100.

For my copy of the v3.4.1 HTK, those are:

1424:   float col[100];
1427:   int n,i,j,perm[100];
1477:   double col[100];
1480:   int n,i,j,perm[100];
1506:   double col[100];
1509:   int n,i,perm[100];
1535:   double col[100];
1538:   int n,i,perm[100];

What needs to do is just increase the size of those local arrays.

 

Posted via email from Troy's posterous

1 comment:

  1. I changed these sizes to 500 and used pointers instead but still HLDA is giving segmentation fault. Should I change something else? any idea?

    ReplyDelete

Google+