When I use pocketsphinx with sphinx acoustic model everything works fine and I
have the expected results, but when I use the one from the converter i got the
following error for some files:
ERROR: "fsg_search.c", line 1099: Final state not reached in frame 957
The frame changes for each file.
I see that changing the grammar file I can reduce the number of errors for the
HTK converted model but none of the models can recognize anything, but at
least I have less errors.
The feature files used for HTK train and sphinxtrain are the same.
I would not be that sure. For example CMN value "current" means you apply mean
normalization to all 39 coefficients including deltas and accelrators. It
doesn't seem like the right way to go.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I uploaded the models i'm using, the configuration files and one feature file
for testing.
I started debugging the code with both models and the first thing is that i
cant get best hypothesis with "ps_get_hyp" with htk model, after this,
everything runs different for them. https://docs.google.com/open?id=0B5qlZjr4jX8JV2dod1VwWk9NSHM
Any help? thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
any of the options for cmn make the htk model work.
i think this should not be the problem, i'm using my own feature files for
decoding both models and only htk model is not working for fsgs grammar.
I see that the same HTK model can decode when using a general language model.
the results are very poor, but at least is something. I'm still trying to find
out what's going on when using HTK model and finite state grammar.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Andre, you can not use -cmn current with the vector of lenght 39. If you want
CMUSphinx CMN, you need ot use vector size 13 and calculate features with
1s_c_d_dd or you should normalize features in HTK and then you can use CMN
none instead of current.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's working now!
I was debugging and figured out the difference was that the code was using the
cmn option from feat.params file and not the one I was setting in the command
line. I changed cmn for none in the file and worked.
Thanks! :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm trying to compare the performance of two different acoustic models
using pocketsphinx, one is a HTK model converted to sphinx format using https
://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx/trunk/htk2s3conv. The other is
a sphinx model trained with sphinxtrain.
When I use pocketsphinx with sphinx acoustic model everything works fine and I
have the expected results, but when I use the one from the converter i got the
following error for some files:
The frame changes for each file.
I see that changing the grammar file I can reduce the number of errors for the
HTK converted model but none of the models can recognize anything, but at
least I have less errors.
The grammar file I'm using is this:
Any help?
HTK feature extraction is different from sphinx feature extraction. See
http://nsh.nexiwave.com/2009/09/using-htk-models-in-sphinx4.html?showComment=
1254025513274#c8154075213468076053
Or use features extracted with HTK.
The feature files used for HTK train and sphinxtrain are the same. For
recognizing I use the same files also. I'm using pocketsphinx_batch.
I would not be that sure. For example CMN value "current" means you apply mean
normalization to all 39 coefficients including deltas and accelrators. It
doesn't seem like the right way to go.
I uploaded the models i'm using, the configuration files and one feature file
for testing.
I started debugging the code with both models and the first thing is that i
cant get best hypothesis with "ps_get_hyp" with htk model, after this,
everything runs different for them.
https://docs.google.com/open?id=0B5qlZjr4jX8JV2dod1VwWk9NSHM
Any help? thx
Please read the previous message
any of the options for cmn make the htk model work.
i think this should not be the problem, i'm using my own feature files for
decoding both models and only htk model is not working for fsgs grammar.
I see that the same HTK model can decode when using a general language model.
the results are very poor, but at least is something. I'm still trying to find
out what's going on when using HTK model and finite state grammar.
Thanks.
The lattice for HTK model might show something
Andre, you can not use -cmn current with the vector of lenght 39. If you want
CMUSphinx CMN, you need ot use vector size 13 and calculate features with
1s_c_d_dd or you should normalize features in HTK and then you can use CMN
none instead of current.
It's working now!
I was debugging and figured out the difference was that the code was using the
cmn option from feat.params file and not the one I was setting in the command
line. I changed cmn for none in the file and worked.
Thanks! :D