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

[hts-users:00861] Re: multiple use of logical HMM name


Hi,

askhar@xxxxxxxxxx wrote (2007/10/18 1:33):

     i runned the HHED command after modified the m2f.hed files,it is ok,but i
runned the Training.pl from the start to the end after modified the m2f.hed
file,the error occured again.i marked part of the training.pl(oops)???, i have the
new error  as follows:

// make unseen model
AU /home/hts/HTSuyghur/data/lists/full_all.list
 Creating HMMset using trees to add unseen triphones
  ERROR [+7036]  CreateHMM: multiple use of logical HMM name
d-i+sil/S:5/A:n_n@X/B:3_3@3$3#0&3|0^0!X/C:2_5@2$8#0&3|0^0!X/D:1_1@1$1#0&1|0^0!X/E:
0_5@0
  ERROR [+7060]  InitHMMSet: Error in CreateHMM
  ERROR [+2628]  AddUnseenCommand: MakeHMMSet failed
 FATAL ERROR - Terminating program /usr/local/bin/HHEd
Error in /usr/local/bin/HHEd   -A -B -C /home/hts/HTSuyghur/configs/trn.cnf -D -T
1 -p -i -H /home/hts/HTSuyghur/models/qst001/ver1/cmp/re_clustered.mmf -w
/home/hts/HTSuyghur/models/qst001/ver1/cmp/re_clustered_all.mmf.1mix
/home/hts/HTSuyghur/edfiles/qst001/ver1/cmp/mku.hed
/home/hts/HTSuyghur/data/lists/full.list

for d-i+sil/S:5/A:n_n@X/B:3_3@3$3#0&3|0^0!X/C:2_5@2$8#0&3|0^0!X/D:1_1@1$1#0&1|0^0!X/E:
0_5@0

i found  two items in data/lists/full_all.list,why?please help,thank you!

I guess your label files are saved in different format.
Multiple logical HMM names are removed through  sort -u  in the following part of data/Makefile.

list:
       mkdir -p lists

       # Generating a fullcntext model list occurred in the training data
       rm -f tmp
       for lab in labels/full/$(DATASET)_$(SPEAKER)_*.lab; do \
               if [ -s $${lab} -a -s labels/mono/`basename $${lab}` -a -s cmp/`basename $${lab} .lab`.cmp ]; then \
                       sed -e "s/.* //g" $${lab} >> tmp; \
               fi \
       done
       sort -u tmp > lists/full.list
       rm -f tmp

       # Generating a fullcontext model list including unseen models
       rm -f tmp
       cat lists/full.list > tmp
       for lab in labels/gen/*.lab; do \
               sed -e "s/.* //g" $${lab} >> tmp; \
       done
       sort -u tmp > lists/full_all.list
       rm -f tmp

       # Generating a monophone list
       rm -f tmp
       for lab in labels/mono/$(DATASET)_$(SPEAKER)_*.lab; do \
               if [ -s $${lab} -a -s labels/full/`basename $${lab}` -a -s cmp/`basename $${lab} .lab`.cmp ]; then \
                       sed -e "s/.* //g" $${lab} >> tmp; \
               fi \
       done
       sort -u tmp > lists/mono.list
       rm -f tmp


This part might fail in your case.
Please check whether it works correctly or not.

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

References
[hts-users:00860] multiple use of logical HMM name, 艾斯卡尔