[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:00628] 回复: Re: HInit Error


Hi,Heiga
before HInit runs, the output command is :

/mnt/unzip/htk/HTKTools/bin/HInit -A -C /mnt/unzip/HTS/configs/trn.cnf -D -T 1 -S /mnt/unzip/HTS/data/scp/train.scp -m 1 -u tmvw -w 3 -H /mnt/unzip/HTS/models/qst001/ver1/cmp/init.mmf -M /mnt/unzip/HTS/models/qst001/ver1/cmp/HInit -I /mnt/unzip/HTS/data/labels/mono.mlf -l a -o a /mnt/unzip/HTS/proto/ver1/state-5_stream-4_mcp-75_lf0-3.prt
it is the right form that HInit needs.

after the error occurs, it outputs the following:

 ERROR [+2121]  HInit: Too Few Observation Sequences [0]
 FATAL ERROR - Terminating program /mnt/unzip/htk/HTKTools/bin/HInit
Error in /mnt/unzip/htk/HTKTools/bin/HInit -A -C /mnt/unzip/HTS/configs/trn.cnf -D -T 1 -S /mnt/unzip/HTS/data/scp/train.scp -m 1 -u tmvw -w 3 -H /mnt/unzip/HTS/models/qst001/ver1/cmp/init.mmf -M /mnt/unzip/HTS/models/qst001/ver1/cmp/HInit  /mnt/unzip/HTS/proto/ver1/state-5_stream-4_mcp-75_lf0-3.prt

"-l a -o a" either disappears or appear behind the protofile name.
In HInit.c, function LoadFile( ), line 510:
if (segEnIdx >= ObsInBuffer(pbuf))
               segEnIdx = ObsInBuffer(pbuf)-1;
the ObsInBuffer(pbuf) return 1;
is it normal?

best wishes.
LiFang


"Heiga ZEN (Byung Ha CHUN)" <zen@xxxxxxxxxxxxxxx> 写道:
Hi,

Fang Li wrote:

> Error in /mnt/unzip/htk/HTKTools/bin/HInit -A -C
> /mnt/unzip/HTS/configs/trn.cnf -D -T 1 -S
> /mnt/unzip/HTS/data/scp/train.scp -m 1 -u tmvw -w 3 -H
> /mnt/unzip/HTS/models/qst001/ver1/cmp/init.mmf -M /mnt/unzip/HTS/models
> /mnt/unzip/HTS/proto/ver1/state-5_stream-4_mcp-75_lf0-3.prtf -l a

/mnt/unzip/htk/HTKTools/bin/HInit -A -C /mnt/unzip/HTS/configs/trn.cnf -D -T 1 -S /mnt/unzip/HTS/data/scp/train.scp -m 1 -u tmvw -w 3 -H /mnt/unzip/HTS/models/qst001/ver1/cmp/init.mmf -M /mnt/unzip/HTS/models /mnt/unzip/HTS/proto/ver1/state-5_stream-4_mcp-75_lf0-3.prtf -l a

I think the above line should be

/mnt/unzip/htk/HTKTools/bin/HInit -A -C /mnt/unzip/HTS/configs/trn.cnf -D -T 1 -S /mnt/unzip/HTS/data/scp/train.scp -m 1 -u tmvw -w 3 -H /mnt/unzip/HTS/models/qst001/ver1/cmp/init.mmf -M /mnt/unzip/HTS/models -l a -o a /mnt/unzip/HTS/proto/ver1/state-5_stream-4_mcp-75_lf0-3.prtf

Regards,

Heiga ZEN (Byung Ha CHUN)

--
------------------------------------------------
Heiga ZEN (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)

Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan

http://www.sp.nitech.ac.jp/~zen
------------------------------------------------




抢注雅虎免费邮箱-3.5G容量,20M附件!
Follow-Ups
[hts-users:00629] Re: HInit Error, Heiga ZEN (Byung Ha CHUN)
References
[hts-users:00627] Re: HInit Error, Heiga ZEN (Byung Ha CHUN)