Click here to register.

General Discussion

Flat
HInit error
User: ning
Date: 9/4/2011 11:26 pm
Views: 2004
Rating: 6

I have been trying to use HInit to train the HMM prototypes for a program to recognize yes/no.  But as I run it, I get the following error:

>> HInit -A -D -T 1 -H model/yes -S trainlist.txt -M model/proto yes

No HTK Configuration Parameters Set

ERROR [+5010] InitSource:Cnnot open source file model/yes

ERROR [+7010] LoadAllMacros:Can't open file

ERROR [+7050]LoadHMMset:Macro name expected

ERROR [+2128] Initialise:LoadHMMSet failed

my yes file:

~o <VecSize> 39 <MFCC_0_D_A>
~h "yes"
<BeginHMM>
     <NumStates>  6
         <State>   2
       <Mean> 39
            0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0   
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
       <Variance> 39
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0   
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
      <State> 3
        <Mean> 39
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0   
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
        <Variance> 39
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0   
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0

      <State> 4
        <Mean> 39
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0   
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
        <Variance> 39
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0   
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0

      <State> 5
        <Mean> 39
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0   
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
        0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
        <Variance> 39
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0   
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
        1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0

      <TransP> 6
        0.0 0.5 0.5 0.0 0.0 0.0
        0.0 0.4 0.3 0.3 0.0 0.0
        0.0 0.0 0.4 0.3 0.3 0.0
        0.0 0.0 0.0 0.4 0.3 0.3
        0.0 0.0 0.0 0.0 0.5 0.5
        0.0 0.0 0.0 0.0 0.0 0.0
<EndHMM>

 

--- (Edited on 9/4/2011 11:26 pm [GMT-0500] by ning) ---

Re: HInit error
User: kmaclean
Date: 9/6/2011 10:17 pm
Views: 965
Rating: 6

>trying to use HInit to train the HMM prototypes for a program to recognize yes/no.

Have you tried looking through the HTK email archives?

--- (Edited on 9/6/2011 11:17 pm [GMT-0400] by kmaclean) ---

PreviousNext