Acoustic Model Discussions

Flat
Step 8 - Realigning the training data
User: elithin
Date: 6/1/2011 1:59 pm
Views: 5671
Rating: 6

Hi,

i started the training process again, from a different perspective.

this time i'm following strictly the voxforge tutorial (and htk book).

now i'm stuck again in step 8 but with a different error.


HVite executes as follows:

HVite -l '*' -o SWT -b sent-end -C confs/config -H hmms7/macros -H hmms7/hmmdefs -i aligned.mlf -m -t 250.0 150.0 1000.0 -a -I words.mlf -S mfc_train.list dict monophones1 > HVite.log

ERROR [+6510]  LOpen: Unable to open label file amostras/cecoFPM/ceocdFPM/f/ceocdFPM.lab
 FATAL ERROR - Terminating program HERest

from what i understand, it's trying to find a .lab file when it's supposed to look at words.mlf instead.

can someone help?

 

thanks in advance

 

--- (Edited on 1-June-2011 16:00 [GMT-0300] by elithin) ---

Re: Step 8 - Realigning the training data
User: kmaclean
Date: 6/1/2011 2:11 pm
Views: 118
Rating: 5

>from what i understand, it's trying to find a .lab file when it's supposed to

>look at words.mlf instead.

a .lab file is a label file, HTK can process these individually, or you can create a file which contains many label files - which is what your .mlf file is.

> LOpen: Unable to open label file amostras/cecoFPM/ceocdFPM/f/ceocdFPM.lab

this might be a path issue.  HTK can be very finicky with paths.  What does the HTK book say about this error?

--- (Edited on 6/1/2011 3:11 pm [GMT-0400] by kmaclean) ---

Re: Step 8 - Realigning the training data
User: elithin
Date: 6/1/2011 2:14 pm
Views: 73
Rating: 7

htk book doesn't have this error description

--- (Edited on 1-June-2011 16:14 [GMT-0300] by elithin) ---

Re: Step 8 - Realigning the training data
User: kmaclean
Date: 6/1/2011 2:23 pm
Views: 114
Rating: 6

does your mlf file contain the label entry?:

amostras/cecoFPM/ceocdFPM/f/ceocdFPM.lab

Best to use the path structure shown in the VoxForge tutorial.

Then when you get that right, you can deviate from it by changing one thing at a time. 

If I recall correctly, the path for the lab file in your mlf also points to your wav file - where the .lab suffix gets replaced with .wav (or whatever format you are using... as set in your config).

--- (Edited on 6/1/2011 3:23 pm [GMT-0400] by kmaclean) ---

Re: Step 8 - Realigning the training data
User: elithin
Date: 6/1/2011 2:29 pm
Views: 90
Rating: 6

oh! i get it now. for some reason the words.mlf file contained "ceocdFPM.lab"

not "*/ceocdFPM.lab".

i fixed it, and it progressed nicely.

going to next step now.

thanks a lot!!!

 

--- (Edited on 1-June-2011 16:29 [GMT-0300] by elithin) ---

Re: Step 8 - Realigning the training data
User: TonyR
Date: 6/1/2011 2:36 pm
Views: 80
Rating: 5

Ken wrote:

 

does your mlf file contain the label entry?:

amostras/cecoFPM/ceocdFPM/f/ceocdFPM.lab

 

As you have -l '*' set you need to see */amostras/cecoFPM/ceocdFPM/f/ceocdFPM.lab

 

Best to use the path structure shown in the VoxForge tutorial.

Then when you get that right, you can deviate from it by changing one thing at a time.

 

This is really excellent advice.   The best way to learn HTK is to start from something working and change tiny little bits so that if it doesn't work you can see what went wrong and fix it.


Just think of HTK as an assembly langauge.

 

Tony

 

--- (Edited on 1-June-2011 8:36 pm [GMT+0100] by TonyR) ---

Re: Step 8 - Realigning the training data
User: TonyR
Date: 6/1/2011 2:41 pm
Views: 66
Rating: 4

I was too slow!  Glad you got it fixed.

 

Tony

--- (Edited on 1-June-2011 8:41 pm [GMT+0100] by TonyR) ---

Re: Step 8 - Realigning the training data
User: elithin
Date: 6/1/2011 3:07 pm
Views: 2257
Rating: 7

thanks for replaying anyway!

--- (Edited on 1-June-2011 17:07 [GMT-0300] by elithin) ---

PreviousNext