Acoustic Model Discussions

Nested
Failed to do adaptation
User: 12074n12
Date: 5/22/2010 3:02 am
Views: 6161
Rating: 1

Hi,

I have followed this tutorial to install HTK-3.1.2 for adaptation

http://www.voxforge.org/home/dev/acousticmodels/linux/adapt/htkjulius/download-htk


But it gives me this error when I try to run ./makeHTK.sh

make: *** No rule to make target `../HTKLib/HTKLib.linux.a', needed by `Cluster'.  Stop.


Do anyone know what is the problem?

I have changed

export HBIN='/home/yourhomedirectory/htk-3.2.1'

into

export HBIN='/home/roland/htk-3.2.1'

and also

cd ./HTKLib
make clean
make

cd ../HTKTools
make clean
make

cd ../HLMLib
make clean
make

cd ../HLMTools
make clean
make

into

cd /home/roland/htk-3.2.1/HTKLib
make clean
make

cd /home/roland/htk-3.2.1/HTKTools
make clean
make

cd /home/roland/htk-3.2.1/HLMLib
make clean
make

cd /home/roland/htk-3.2.1/HLMTools
make clean
make

 

This is just to make sure it goes into correct directory.

 

Another problem is, I have followed also the others' suggestion to adapt using HTK-3.4

But, when I tried to run

HHEd -H macros -H hmmdefs -M hmm16 regtree.hed tiedlist

It gives me  rtree.tree and rteee.base, instead of hmmdefs and macros inside my hmm16 folders.

Any help is appreciated.

Thank you

--- (Edited on 5/22/2010 3:02 am [GMT-0500] by 12074n12) ---

Re: Failed to do adaptation
User: kmaclean
Date: 6/9/2010 8:36 pm
Views: 486
Rating: 1

>make: *** No rule to make target `../HTKLib/HTKLib.linux.a',

>needed by `Cluster'.  Stop.

I think some of the HTK make rules have hard coded path dependencies... therefore change your make commands in makeHTK.sh back to:

 

cd ./HTKLib
make clean
make 

cd ../HTKTools
make clean
make

cd ../HLMLib
make clean
make

cd ../HLMTools
make clean
make

and run the ./makeHTK.sh script from /home/roland/htk-3.2.1

 

 

 

--- (Edited on 6/9/2010 9:36 pm [GMT-0400] by kmaclean) ---

Re: Failed to do adaptation
User: Visitor
Date: 5/4/2013 10:55 am
Views: 217
Rating: 2

I figured out the problem. Some idiot tried to put a function declaration inside a function definition, which as far as I know the are no compilers that allow that. Anyway, move the line

"static InputXForm* GetInputXForm(HMMSet *hset, Source *src, Token *tok);"

that's somewhere around line 660 to anywhere above that that is outside a function.

--- (Edited on 5/4/2013 10:55 am [GMT-0500] by Visitor) ---

Re: Failed to do adaptation
User: Nishant
Date: 12/17/2013 4:24 am
Views: 222
Rating: 1

would you please tell me exactly in which file this function line is present?

--- (Edited on 12/17/2013 4:24 am [GMT-0600] by Visitor) ---

Re: Failed to do adaptation
User: Visitor
Date: 3/13/2015 6:25 pm
Views: 222
Rating: 1

the naughty file is:

/home/roland/htk-3.2.1/HTKLib/HModel.c

--- (Edited on 3/13/2015 6:25 pm [GMT-0500] by Visitor) ---

Re: Failed to do adaptation
User: MecaAL
Date: 6/9/2015 5:49 am
Views: 1719
Rating: 2

That helped a lot, thx very much

--- (Edited on 6/9/2015 5:49 am [GMT-0500] by Visitor) ---

PreviousNext