Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

586 views
Skip to first unread message

Jens Kallup

unread,
Nov 12, 2016, 2:55:19 PM11/12/16
to
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>

cz27...@gmail.com

unread,
Nov 12, 2016, 7:11:56 PM11/12/16
to
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

Jens Kallup

unread,
Nov 12, 2016, 7:19:37 PM11/12/16
to
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

menti...@gmail.com

unread,
Nov 13, 2016, 10:53:39 AM11/13/16
to
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

cz27...@gmail.com

unread,
Nov 13, 2016, 7:21:50 PM11/13/16
to
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

spat...@gmail.com

unread,
Mar 8, 2018, 2:43:55 PM3/8/18
to
##########################
C:\sbp\htk>HInit -A -D -T 1 -S trainlist.txt -C analysis.cfg -M model/hmm0 -H aami1 -l aami1 -L data/t
HInit -A -D -T 1 -S trainlist.txt -C analysis.cfg -M model/hmm0 -H aami1 -l aami1 -L data/train/lab/ a

HTK Configuration Parameters[9]
Module/Tool Parameter Value
# CEPLIFTER 22
# NUMCHANS 26
# PREEMCOEF 0.970000
# USEHAMMING TRUE
# NUMCEPS 12
# TARGETRATE 100000.000000
# WINDOWSIZE 250000.000000
# TARGETKIND MFCC_0_D_A
# SOURCEFORMAT WAV

Initialising HMM aami1 . . .
States : 2 3 4 5 (width)
Mixes s1: 1 1 1 1 ( 39 )
Num Using: 0 0 0 0
Parm Kind: MFCC_D_A_0
Number of owners = 1
SegLab : aami1
maxIter : 20
epsilon : 0.000100
minSeg : 3
Updating : Means Variances MixWeights/DProbs TransProbs

- system is PLAIN
ERROR [+6251] Input file is not in RIFF format
ERROR [+6213] OpenWaveInput: Get[format]HeaderInfo failed
ERROR [+6313] OpenAsChannel: OpenWaveInput failed
ERROR [+6316] OpenBuffer: OpenAsChannel failed
ERROR [+2150] LoadFile: Config parameters invalid
FATAL ERROR - Terminating program HInit

C:\sbp\htk>



i am also face the same problem ...... help me








































































































































































































































































































































































































































































268...@gmail.com

unread,
Dec 3, 2018, 11:46:38 AM12/3/18
to
在 2016年11月13日星期日 UTC+8上午3:55:19,Jens Kallup写道:
I have this issue,too
0 new messages