General Discussion

Flat
*How to write proto file when the features are not from MFCC
User: hfkwok
Date: 6/19/2014 6:38 am
Views: 7499
Rating: 8

I want to use HTK for action recognition. The data is from accelerometer, gyroscope and magnetometer (10 channels). I converted the data to HTK format using a C# program and could read the data correctly using HList. The proto file is as follow:

~o <VecSize> 10
~h "lower_left_inside"
<BeginHMM>
 <NumStates> 5
 <State> 2
  <Mean> 10
    0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  <Variance> 10
    1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
 <State> 3
  <Mean> 10
    0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  <Variance> 10
    1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
 <State> 4
  <Mean> 10
    0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
  <Variance> 10
    1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
 <TransP> 5
0 1 0 0 0
0 0.6 0.4 0 0
0 0 0.6 0.4 0
0 0 0 0.7 0.3
0 0 0 0 0
<EndHMM>


However when I run HCompV, I got the error messages:

ERROR [+7032] FreezeOptions: parmKind not set

ERROR [+7032] FreezeOptions: parmKind not set

ERROR [+2050] CheckData: Parameterisation in lower_left_inside\P001_trial12data.csv.bin is incompatible with hmm proto

 

Can anyone help?

 

 

--- (Edited on 6/19/2014 6:38 am [GMT-0500] by ) ---

--- (Edited on 3/16/2015 11:11 am [GMT-0400] by hfkwok) ---

Re: How to write proto file when the features are not from MFCC
User: wangxiao
Date: 1/20/2015 7:43 am
Views: 1928
Rating: 4

~o <VecSize> 10

should be

~o <VecSize> 10 <USER>

--- (Edited on 1/20/2015 7:43 am [GMT-0600] by Visitor) ---

PreviousNext