[hts-users:02406] Re: Any easy way of getting an adapted model set?
Hi,
Hui LIANG wrote:
Thank you for the quick reply, Dr. Zen!
However, I didn't succeed in obtaining an adapted model set by the AX command of HHEd. Here is the output message of HHEd. HADAPT:SAVEFULLC=TRUE was ignored by HHEd.
My HHEd command was:
./HTKTools/HHEd -A -D -T 1 -C ./trn.cnf -H ./clustered.cmp.mmf -J . -w ./clustered.cmp.adapted2.mmf ./AX.hed ./context.cmp.tiedlist
Please apply the following modification to HHEd.c, re-compile this,
and try it again:
--- HHEd.c 2010-02-04 10:35:05.906117000 +0000
+++ HHEd.c 2010-02-18 13:49:19.237243000 +0000
@@ -8115,24 +8115,26 @@
void AdaptXFormCommand()
{
char fn[MAXFNAMELEN], macroname[MAXSTRLEN];
AdaptXForm *xf;
ChkedAlpha("AX adapt Xform file name", fn);
if (trace & T_BID) {
printf("\nAX %s\n Setting HMMSet adapt XForm\n", fn);
fflush(stdout);
}
xf = LoadOneXForm(hset,NameOf(fn,macroname),fn);
SetXForm(hset, NULL, xf);
+
+ ApplyHMMSetXForm(hset, hset->curXForm, TRUE);
}
/* ----------------- ReOrderFeatures Command -------------------- */
void ReOrderFeaturesCommand()
{
int i,j,vSize,nr,nc;
char *mac="varFloor1"; /* single stream assumed */
MLink m;
LabId id;
Vector tmpm,tmpv,mean,var;
Matrix tmpxf,xform;
Best regards,
Heiga ZEN (Byung Ha CHUN)
--
--------------------------
Heiga ZEN (Byung Ha CHUN)
Speech Technology Group
Cambridge Research Lab
Toshiba Research Europe
phone: +44 1223 436975
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
- References
-
- [hts-users:02405] Re: Any easy way of getting an adapted model set?, Hui LIANG