f



HTK ERROR [+2121] HInit: Too Few Observation Sequences [0]

Hello,
have problem with HTK Toolkit.
I don't know how must be the structure of de.hcompv.scp -M -l ...
Can you help me?

you can follow my progress at: http://dbase.center/data/speech/

TIA
Jens


HInit -A -D -C ../config -S de.hcompv.scp -M hmm0 -H hmm_hello -l hallo 
-L de/lab/ hallo

HTK Configuration Parameters[16]
   Module/Tool     Parameter                  Value
#                 NUMCEPS                       12
#                 CEPLIFTER                     22
#                 PREEMCOEF               0.970000
#                 USEHAMMING                  TRUE
#                 WINDOWSIZE         250000.000000
#                 SAVEWITHCRC                 TRUE
#                 SAVECOMPRESSED              TRUE
#                 TARGETRATE                100000
#                 TARGETFORMAT                 HTK
#                 TARGETKIND                MFCC_0
#                 USER                      MFCC_0
#                 ESCALE                  1.000000
#                 NUMCHANS                      26
#                 HEADERSIZE                     0
#                 SOURCERATE                   625
#                 SOURCEFORMAT            WAVEFORM

   ERROR [+2121]  HInit: Too Few Observation Sequences [0]
  FATAL ERROR - Terminating program HInit



HInit -A -D -C hinit.conf -S de.hcompv.scp -M hmm0 -H proto -l hallo -L 
de/wav/ hallo

   ERROR [+2121]  HInit: Too Few Observation Sequences [1]
  FATAL ERROR - Terminating program HInit


----

~o <VecSize> 13 <MFCC_0>
~h "hallo"
<BeginHMM>
<NumStates> 5
<State> 2
<Mean> 13
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> 13
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> 13
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> 13
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> 13
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> 13
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> 5
0.0 1.0 0.0 0.0 0.0
0.0 0.6 0.4 0.0 0.0
0.0 0.0 0.6 0.4 0.0
0.0 0.0 0.0 0.7 0.3
0.0 0.0 0.0 0.0 0.0
<EndHMM>
0
Jens
11/12/2016 7:55:14 PM
comp.speech.research 1026 articles. 0 followers. Post Follow

4 Replies
662 Views

Similar Articles

[PageSpeed] 2

Hi Jens,

This issue happens when HInit does not find sufficient speech segments (a minimum of 3) matching to your model "hallo". Actually from the error log, it seems 0 was found. Perhaps you could check your input data in de.hcompv.scp and their relevant labels.

Thanks,

Best wishes,
Chao

On Saturday, November 12, 2016 at 7:55:19 PM UTC, Jens Kallup wrote:
> Hello,
> have problem with HTK Toolkit.
> I don't know how must be the structure of de.hcompv.scp -M -l ...
> Can you help me?
> 
> you can follow my progress at: http://dbase.center/data/speech/
> 
> TIA
> Jens
> 
> 
> HInit -A -D -C ../config -S de.hcompv.scp -M hmm0 -H hmm_hello -l hallo 
> -L de/lab/ hallo
> 
> HTK Configuration Parameters[16]
>    Module/Tool     Parameter                  Value
> #                 NUMCEPS                       12
> #                 CEPLIFTER                     22
> #                 PREEMCOEF               0.970000
> #                 USEHAMMING                  TRUE
> #                 WINDOWSIZE         250000.000000
> #                 SAVEWITHCRC                 TRUE
> #                 SAVECOMPRESSED              TRUE
> #                 TARGETRATE                100000
> #                 TARGETFORMAT                 HTK
> #                 TARGETKIND                MFCC_0
> #                 USER                      MFCC_0
> #                 ESCALE                  1.000000
> #                 NUMCHANS                      26
> #                 HEADERSIZE                     0
> #                 SOURCERATE                   625
> #                 SOURCEFORMAT            WAVEFORM
> 
>    ERROR [+2121]  HInit: Too Few Observation Sequences [0]
>   FATAL ERROR - Terminating program HInit
> 
> 
> 
> HInit -A -D -C hinit.conf -S de.hcompv.scp -M hmm0 -H proto -l hallo -L 
> de/wav/ hallo
> 
>    ERROR [+2121]  HInit: Too Few Observation Sequences [1]
>   FATAL ERROR - Terminating program HInit
> 
> 
> ----
> 
> ~o <VecSize> 13 <MFCC_0>
> ~h "hallo"
> <BeginHMM>
> <NumStates> 5
> <State> 2
> <Mean> 13
> 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> 13
> 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> 13
> 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> 13
> 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> 13
> 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> 13
> 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> 5
> 0.0 1.0 0.0 0.0 0.0
> 0.0 0.6 0.4 0.0 0.0
> 0.0 0.0 0.6 0.4 0.0
> 0.0 0.0 0.0 0.7 0.3
> 0.0 0.0 0.0 0.0 0.0
> <EndHMM>

0
cz277
11/13/2016 12:11:55 AM
Hello Chao,

Thank you for your reply!!!
I have an other problem, now:

I realize that I have to speak/record 10 or more wav samples.
But I don't know, how de.hcompv.scp should be formated.

Here is a example line:
../de/mfc/hallo_0.mfc
....
../de/mfc/hallo_9.mfc

Thanks for helping
P.S.: you can follow my process on: http://dbase.center/data/speech/

here is the command, that I execute under Linux

HRest -A -D -T 1 -C ../config de.hcompv.scp -M hmm1 -H proto -l hallo -L 
de/wav/ hallo

HTK Configuration Parameters[16]
   Module/Tool     Parameter                  Value
#                 NUMCEPS                       12
#                 CEPLIFTER                     22
#                 PREEMCOEF               0.970000
#                 USEHAMMING                  TRUE
#                 WINDOWSIZE         250000.000000
#                 SAVEWITHCRC                 TRUE
#                 SAVECOMPRESSED              TRUE
#                 TARGETRATE                100000
#                 TARGETFORMAT                 HTK
#                 TARGETKIND                MFCC_0
#                 USER                      MFCC_0
#                 ESCALE                  1.000000
#                 NUMCHANS                      26
#                 HEADERSIZE                     0
#                 SOURCERATE                   625
#                 SOURCEFORMAT            WAVEFORM

HMM Def Error: LoadHMMSet: Inconsistent HMM macro name at line 1/col 
0/char -1 in de.hcopy.scp
   ERROR [+7050]  HMError:
   ERROR [+2128]  Initialise1: LoadHMMSet failed
  FATAL ERROR - Terminating program HRest
0
Jens
11/13/2016 12:19:32 AM
On Saturday, November 12, 2016 at 11:55:19 AM UTC-8, Jens Kallup wrote:
> Hello,
> have problem with HTK Toolkit.
> I don't know how must be the structure of de.hcompv.scp -M -l ...
> Can you help me?

Sorry, Jens, your work here is too difficult for me :-( 
Best of luck and success.

Cheers,

Mentifex (Arthur)
-- 
The U.S. Constitution is a Joke since 1942 USA Internment camps. 
The American people elected Al Gore in 2000 and Hillary in 2016. 
Sexual Predator-Elect Trump is trying to steal Hillary's election. 
http://mobile.twitter.com/hashtag/NotMyPresident?src=hash 
0
mentificium
11/13/2016 3:53:39 PM
Hi Jens,

I cannot access this:

http://dbase.center/data/speech/

For SCP file structure, you can check the HTKBook. For example, in HTKBook v3.5a, pp. 37, two different formats are given. You can actually find most of the things you need from the HTKBook.

Thanks,

Best wishes,
Chao

On Sunday, November 13, 2016 at 12:19:37 AM UTC, Jens Kallup wrote:
> Hello Chao,
> 
> Thank you for your reply!!!
> I have an other problem, now:
> 
> I realize that I have to speak/record 10 or more wav samples.
> But I don't know, how de.hcompv.scp should be formated.
> 
> Here is a example line:
> ./de/mfc/hallo_0.mfc
> ...
> ./de/mfc/hallo_9.mfc
> 
> Thanks for helping
> P.S.: you can follow my process on: http://dbase.center/data/speech/
> 
> here is the command, that I execute under Linux
> 
> HRest -A -D -T 1 -C ../config de.hcompv.scp -M hmm1 -H proto -l hallo -L 
> de/wav/ hallo
> 
> HTK Configuration Parameters[16]
>    Module/Tool     Parameter                  Value
> #                 NUMCEPS                       12
> #                 CEPLIFTER                     22
> #                 PREEMCOEF               0.970000
> #                 USEHAMMING                  TRUE
> #                 WINDOWSIZE         250000.000000
> #                 SAVEWITHCRC                 TRUE
> #                 SAVECOMPRESSED              TRUE
> #                 TARGETRATE                100000
> #                 TARGETFORMAT                 HTK
> #                 TARGETKIND                MFCC_0
> #                 USER                      MFCC_0
> #                 ESCALE                  1.000000
> #                 NUMCHANS                      26
> #                 HEADERSIZE                     0
> #                 SOURCERATE                   625
> #                 SOURCEFORMAT            WAVEFORM
> 
> HMM Def Error: LoadHMMSet: Inconsistent HMM macro name at line 1/col 
> 0/char -1 in de.hcopy.scp
>    ERROR [+7050]  HMError:
>    ERROR [+2128]  Initialise1: LoadHMMSet failed
>   FATAL ERROR - Terminating program HRest

0
cz277
11/14/2016 12:21:49 AM
Reply: