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

[hts-users:00772] Re: Questions on training and flat pitch pattern


Hi,

On 2007/08/08, at 6:41, lixiulin wrote:
1. after -r option is added to HHED, it still doesn't work. The error messages are as follows:

====================================================================== ========== Start copying monophone mmf to fullcontext one at 三 8 月 8 10:15:51 CST 2007 ====================================================================== ==========

/home/kangyg/HTS/tools/HTK-3.4/bin/HHEd -A -B -C /home/kangyg/HTS/ HTS-AOZORAR/configs/trn.cnf -D -T 1 -p -i -r -H /home/kangyg/HTS/ HTS-AOZORAR/models/qst001/ver1/cmp/monophone.mmf -w /home/kangyg/ HTS/HTS-AOZORAR/models/qst001/ver1/cmp/fullcontext.mmf /home/kangyg/ HTS/HTS-AOZORAR/edfiles/qst001/ver1/cmp/m2f.hed /home/kangyg/HTS/ HTS-AOZORAR/data/lists/mono.list

HTK Configuration Parameters[3]
  Module/Tool     Parameter                  Value
#                 NATURALWRITEORDER              TRUE
#                 NATURALREADORDER              TRUE
#                 APPLYVFLOOR                 TRUE

HHEd
 39/39 Models Loaded [7 states max, 2 mixes max]

// copy monophone models to fullcontext ones
CL /home/kangyg/HTS/HTS-AOZORAR/data/lists/full.list
 Cloning current hmms to produce new set
Error in /home/kangyg/HTS/tools/HTK-3.4/bin/HHEd -A -B -C /home/ kangyg/HTS/HTS-AOZORAR/configs/trn.cnf -D -T 1 -p -i -r -H /home/ kangyg/HTS/HTS-AOZORAR/models/qst001/ver1/cmp/monophone.mmf -w / home/kangyg/HTS/HTS-AOZORAR/models/qst001/ver1/cmp/fullcontext.mmf / home/kangyg/HTS/HTS-AOZORAR/edfiles/qst001/ver1/cmp/m2f.hed /home/ kangyg/HTS/HTS-AOZORAR/data/lists/mono.list
Unfortunately, we can not understand your problem from these error message.
Please send us detailed error message.

BTW, do your full.list include "?" symbol?



Then, please use -r options in the the following tree-based clustering procedures.

Training.pl

# HHEd (tree-based context clustering (cmp))
if ($CXCL1) {
   print_time("tree-based context clustering (cmp)");

   shell("cp $fullmmf{'cmp'} $clusmmf{'cmp'}");

   # tree-based clustering
   $footer = "";
   foreach $type (@cmp) {
      if ($strw{$type}>0.0) {
         make_edfile_state($type);
shell("$HHEd{'trn'} -r -H $clusmmf{'cmp'} $mdl{$type} -w $clusmmf{'cmp'} $cxc{$type} $lst{'ful'}");
         $footer .= "_$type";
         shell("gzip -c $clusmmf{'cmp'} > $clusmmf{'cmp'}$footer.gz");
      }
   }
}


# HHEd (tree-based context clustering (cmp))
if ($CXCL2) {
   print_time("tree-based context clustering (cmp)");

   # tree-based clustering
   $set = 'cmp';

   shell("cp $untymmf{$set} $reclmmf{$set}");

   $footer = "";
   foreach $type (@{$ref{$set}}) {
      make_edfile_state($type);
shell("$HHEd{'trn'} -r -H $reclmmf{$set} $mdl{$type} -w $reclmmf{$set} $cxc{$type} $lst{'ful'}");

      $footer .= "_$type";
      shell("gzip -c $reclmmf{$set} > $reclmmf{$set}$footer.gz");
   }
   shell("gzip -c $reclmmf{$set} > $reclmmf{$set}.noembedded.gz");
}

# HHEd (tree-based context clustering (dur))
if ($CXCL3) {
   print_time("tree-based context clustering (dur)");

   # tree-based clustering
   $set = 'dur';

   shell("cp $untymmf{$set} $reclmmf{$set}");
   convstats();

   $footer = "";
   foreach $type (@{$ref{$set}}) {
      make_edfile_state($type);
shell("$HHEd{'trn'} -r -H $reclmmf{$set} $mdl{$type} -w $reclmmf{$set} $cxc{$type} $lst{'ful'}");

      $footer .= "_$type";
      shell("gzip -c $reclmmf{$set} > $reclmmf{$set}$footer.gz");
   }
   shell("gzip -c $reclmmf{$set} > $reclmmf{$set}.noembedded.gz");
}






References
[hts-users:00770] Re: Questions on training and flat pitch pattern, lixiulin