Speech Recognition Engines

Flat
Problem in Speaker Adaptaion with HTK
User: thilinid
Date: 1/4/2015 3:29 am
Views: 5079
Rating: 2

Hi,

I'm trying to do speaker adaptation using the HTK toolkit. I have Created Tied-State Triphones as per the tutorial in the HTK 3.4 Boo. In Step 13 - Generating the transforms the HHEd command does not create the new hmmdefs and macros. I used the command as follows:

HHEd -T 1 -H am/tiehmm3/macros -H am/tiehmm3/hmmdefs -M am/adapthmm0 config/regtree.hed config/tie.list


My regtree.hed file contains the following:

RN "models"
LS "am/tiehmm3/stats"
RC 32 "rtree"

By running the HHEd command it creates two files named rtree.base and rtree.tree but it does not create the hmmdefs or macros files which I suppose should be created.

I have no idea why this happens. Could someone help me to solve this issue?

Thank you in advance.

--- (Edited on 1/4/2015 3:29 am [GMT-0600] by thilinid) ---

Re: Problem in Speaker Adaptaion with HTK
User: Yasin Mhmd
Date: 4/16/2016 10:42 am
Views: 31
Rating: 0

I've the same problem. Did you solve it ?

 

--- (Edited on 4/16/2016 10:42 am [GMT-0500] by Visitor) ---

Re: Problem in Speaker Adaptaion with HTK
User: thilinid
Date: 4/16/2016 1:58 pm
Views: 584
Rating: 0

It turned out that only files that are created in this step are rtree.base and rtree.tree

No other files were created.

--- (Edited on 4/16/2016 1:58 pm [GMT-0500] by thilinid) ---

Re: Problem in Speaker Adaptaion with HTK
User: dgleason
Date: 6/19/2017 1:49 pm
Views: 14
Rating: 0

The "Perform Static Adaptation" section requires the existence of a hmmdefs and a macros file in the hmm16 directory. The command fails because these files aren't present. How did you proceed?

--- (Edited on 6/19/2017 1:49 pm [GMT-0500] by ) ---

Re: Problem in Speaker Adaptaion with HTK
User: thilinid
Date: 6/20/2017 12:10 am
Views: 27
Rating: 1

If you are following the HTK book, the command to perform static adaptation is given like this:

HERest -C config -C config.global -S adapt.scp -I adaptPhones.mlf -H hmm15/macros -u a -H hmm15/hmmdefs -z -K xforms mllr1 -J classes -h '*/%%%%%%_*.mfc' tiedlist

There is no mention of a 'hmm16' directory. The hmmdefs an macros shuold be in 'hmm15' directory (Result of the last tied-state HMM training).

If you are reffering to the 'classes' directory, only files that are created in it are rtree.base and rtree.tree

There are no hmmdefs or macros files in the 'classes' directory.

--- (Edited on 6/20/2017 12:10 am [GMT-0500] by thilinid) ---

Re: Problem in Speaker Adaptaion with HTK
User: dgleason
Date: 6/20/2017 10:51 am
Views: 2
Rating: 0

I've been following the VoxForge Adaptation walkthrough, which mentions a hmm16 directory. Would you reccomend following the HTKbook tutorial instead?

--- (Edited on 6/20/2017 10:51 am [GMT-0500] by ) ---

Re: Problem in Speaker Adaptaion with HTK
User: thilinid
Date: 6/20/2017 11:54 am
Views: 3
Rating: 0

What is the HTK version you are using?

And also could you mention the link for the Voxforge Adaptation tutorial?

--- (Edited on 6/20/2017 11:54 am [GMT-0500] by thilinid) ---

Re: Problem in Speaker Adaptaion with HTK
User: dgleason
Date: 6/20/2017 2:17 pm
Views: 4
Rating: 0

I'm using HTK 3.4.1, which is part of my problem. The VoxForge adaptation tutorial, step 5 (http://www.voxforge.org/home/dev/acousticmodels/linux/adapt/htkjulius/adapt/step-5) says to use HTK 3.2.1, since there are "issues with adaptation" using later versions. The tutorial asks you to use the HEAdapt function, which doesn't exist in the version of HTK I'm using. I tried to install HTK 3.2.1, but it requires an older compiler that I can't seem to install on my newer Ubuntu.

--- (Edited on 6/20/2017 2:17 pm [GMT-0500] by ) ---

Re: Problem in Speaker Adaptaion with HTK
User: thilinid
Date: 6/21/2017 12:30 am
Views: 1501
Rating: 0

As you say your problem is with the HTK version diffrence.

I suggest you to refer the HTK book which is for HTK 3.4 version.

It uses HERest and HVite for adaptation instead of HEAdapt.

Make sure to refer the correct HTK book as some links saying HTK book 3.4 actually refers to some older versions of HTK.

http://www.seas.ucla.edu/spapl/weichu/htkbook/ is one link where you can find the correct version.

--- (Edited on 6/21/2017 12:30 am [GMT-0500] by thilinid) ---

PreviousNext