Click here to register.

Step 5 - Generating the Transforms

Create Regression Class Tree

1. First, create the regtree.hed edit script in your voxforge/adapt directory:

RN "models"
LS "stats"
RC 32 "rtree" 

2. Next create a new hmm16 directory in your voxforge/adapt folder.

3. Then execute the HTK Tool HHEd to build the regression class tree:

$/home/yourusername/htk-3.2.1/bin.linux/HHEd -H macros -H hmmdefs -M hmm16 regtree.hed tiedlist

The new models, together with the regression class tree information, are written to the hmm16 directory:

Perform Static Adaptation

1st pass - global adaptation

1. Execute the HEAdapt command as follows: 

$/home/yourusername/htk-3.2.1/bin.linux/HEAdapt -C config -g -S adapt.scp -I adaptPhones.mlf -H hmm16/macros -H hmm16/hmmdefs -K global.tmf -t 250.0 150.0 3000.0 tiedlist

This creates the global.tmfglobal.tmf file in your voxforge directory - which is to be used as input into the second pass.

2nd pass - transform model set

2. Create the hmmAdapt directory

3. Then run HEAdapt once more:

$/home/yourusername/htk-3.2.1/bin.linux/HEAdapt -C config -S adapt.scp -I adaptPhones.mlf -H hmm16/macros -H hmm16/hmmdefs -J global.tmf -M hmmAdapt -t 250.0 150.0 3000.0  -j 0.9 -i 10 tiedlist

this creates 2 files in the hmmAdapt directory:


Comments

Click the 'Add' link to add a comment to this page; click the 'Read More' link to view replies to a posted comment.

AddSearch

output TMF file expected
By bejimed - 3/22/2012

After installing htk 3.4.1 on my ubuntu system, i try to exexute this command
HERest -C config -C config.global -S adapt.scp -I adaptPhones.mlf -H hmm9/macros -u a -H hmm9/hmmdefs -z -K xforms mllr1 -J classes -h '*/%%%%%%_*.mfc' monophones1

but i have a big problem :
RROR [+2319] HERest: output TMF file expected
FATAL ERROR - Terminating program HERest

my config.global file contain these elements :

HADAPT:TRANSKIND = MLLRMEAN
HADAPT:USEBIAS = TRUE
HADAPT:BASECLASS = global
HADAPT:ADAPTKIND = BASE
HADAPT:KEEPXFORMDISTINCT = TRUE

HADAPT:TRACE = 61
HMODEL:TRACE = 512

HEAdapt & hmm16/hmm creation
By nemozny - 8/31/2011 - 3 Replies This command "HHEd -H macros -H hmmdefs -M hmm16 regtree.hed tiedlist" does not create hmm16/hmmdefs and hmm16/macros. Only rtree.base and rtree.tree.

HEAdapt does not exist in HTK 3.4.1.