Comments

Flat
Re: Free Alignment
User: kmaclean
Date: 4/26/2011 9:38 am
Views: 210
Rating: 2

>ERROR [+6510]  LOpen: Unable to open label file test.lab
> FATAL ERROR - Terminating program HVite

likeley a path issue - check the paths in your mlf file...  are you following the VoxForge tutorial?

Re: Free Alignment
User: cvani
Date: 4/26/2011 10:25 am
Views: 200
Rating: 3

I am clearly following the tutorial. It also creates the output file called 'aligned.out'. But this file is blank. My 'words.mlf' file is the following:

#!MLF!#
"speech.lab"
NEPAL
OFFICIALLY
THE
FEDERAL
DEMOCRATIC
REPUBLIC
OF
NEPAL
IS
A
LANDLOCKED
COUNTRY
IN
SOUTH
ASIA
IT
IS
LOCATED
IN
THE
HIMALAYAS
AND
BORDERED
TO
THE
NORTH
BY
THE
PEOPLE'S
REPUBLIC
OF
CHINA
AND
TO
THE
SOUTH
EAST
AND
WEST
BY
THE
REPUBLIC
OF
INDIA
KATHMANDU
IS
THE
NATION'S
CAPITAL
AND
THE
COUNTRY'S
LARGEST
METROPOLIS
NEPAL
HAS
A
RICH
GEOGRAPHY
THE
MOUNTAINOUS
NORTH
HAS
EIGHT
OF
THE
WORLD'S
TEN
TALLEST
MOUNTAINS
INCLUDING
THE
HIGHEST
POINT
ON
EARTH
MOUNT
EVEREST
.

The aligned.out file is blank with just the first line which is,

#!MLF!#

 

 

Re: Free Alignment
User: kmaclean
Date: 4/26/2011 10:54 am
Views: 186
Rating: 4

do you have a "test.lab" label file in your words.mlf file, and do you have a corresponding "test.wav" in your train.scp file?

It might be easier to try it first with the audio files used in the forced alignment tutorial, get that working, then try it with your own files...

Re: Free Alignment
User: cvani
Date: 4/26/2011 11:43 am
Views: 231
Rating: 4

Yes I have a speech.lab file in the words.mlf file. And also I have the corresponding speech.wav file in train.scp. There is no .wav file in the tutorial so I cannot use it. I can only listen to the audio from the tutorial but not use it.  

Re: Free Alignment
User: kmaclean
Date: 4/26/2011 11:58 am
Views: 199
Rating: 4

>There is no .wav file in the tutorial so I cannot use it.

Step 3 - Temporarily DownSample Your Wav File

...

historyofengland01ch04_01_macaulay.wav 04-Mar-2007 14:32 165M

Re: Free Alignment
User: cvani
Date: 4/26/2011 12:37 pm
Views: 214
Rating: 4

I tried with the speech file from the tutorial but its the same error. 

~/Work/Automated Alignment$ HVite -A -D -T 1 -l '*' -a -b SENT-END -m -C wav_config -H macros -H hmmdefs -m -t 250.0 150.0 1000.0 -l words.mlf -i aligned.out -S train.scp dict tiedlist
HVite -A -D -T 1 -l * -a -b SENT-END -m -C wav_config -H macros -H hmmdefs -m -t 250.0 150.0 1000.0 -l words.mlf -i aligned.out -S train.scp dict tiedlist

HTK Configuration Parameters[11]
  Module/Tool     Parameter                  Value
#                 NUMCEPS                       12
#                 CEPLIFTER                     22
#                 NUMCHANS                      26
#                 PREEMCOEF               0.970000
#                 USEHAMMING                  TRUE
#                 WINDOWSIZE         250000.000000
#                 SAVEWITHCRC                 TRUE
#                 SAVECOMPRESSED              TRUE
#                 TARGETRATE         100000.000000
#                 TARGETKIND          MFCC_D_N_Z_0
#                 SOURCEFORMAT                 WAV

Read 4272 physical / 5964 logical HMMs
Label file will be used to align each file
Aligning File: hoe-temp.wav
  ERROR [+6510]  LOpen: Unable to open label file hoe-temp.lab
 FATAL ERROR - Terminating program HVite

Re: Free Alignment
User: kmaclean
Date: 4/26/2011 1:22 pm
Views: 247
Rating: 4

>ERROR [+6510]  LOpen: Unable to open label file hoe-temp.lab

This is a path issue.

Do you have *all* the required files in the same directory that you are executing HVite in? i.e.:

aligned.out

dict

hmmdefs

hoe-temp.wav

macros

tiedlist

train.scp

wav_config

words.mlf

Re: Free Alignment
User: cvani
Date: 4/26/2011 2:23 pm
Views: 189
Rating: 3

Yes, they are all in the same directory and i am running HVite from the same directory. Its just a strange error I got which I cannot figure out.

Thank you

Re: Free Alignment
User: kmaclean
Date: 4/26/2011 7:07 pm
Views: 178
Rating: 4

> they are all in the same directory and i am running HVite from the same directory.

could this be a line ending issue on your mlf file (or config file, or some other file...)?

I just downloaded the files and everything seems to work OK - but I am using Fedora 14.

Re: Free Alignment
User: cvani
Date: 4/27/2011 7:05 am
Views: 223
Rating: 3

But I tried in both Linux and Windows. Could this be a problem with the new version of HTK? I think this is not line ending issue.

Thank you

PreviousNext