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

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



Hi,Heiga
I replace the data with that can run on the VM linux, and the HInit works.
The problem is solved, but I have not found out the reason.
Thanks a lot!

best wishes.
Lifang

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

Fang Li wrote:

> 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.

Yes.

> 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.

The above "Error in /mnt/unzip/htk/HTKTools/bin/HInit -A -C ..." message was outputted in the subroutine "shell()" in Training.pl as follows:


sub shell($) {
my($command) = @_;
my($exit);

$exit = system($command);

if($exit/256 != 0){
die "Error in $command\n"
}
}


So disappearing "-l a -o a" is not a problem in HTS, this may be a problem in Training.pl
Please check it.

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附件!
References
[hts-users:00629] Re: HInit Error, Heiga ZEN (Byung Ha CHUN)