Click here to register.

Comments

Flat
Running live HTK
User: Tomek
Date: 4/1/2008 3:30 pm
Views: 370
Rating: 14    Rate [

+

]

Hi there!
I've got the following problem: I can't run live recogniser under Windows. Got config from htkbook and HVite returns this:

C:\htk\tutorial>HVite -H hmm15/macros -H hmm15/hmmdefs -C config2 -w wdnet -p 0.
0 -s 5.0 dict tiedlist

READY[1]>
  ERROR [+6320]  OpenAsChannel: IOConfig tgt not a parameter kind
  ERROR [+6316]  OpenBuffer: OpenAsChannel failed
  ERROR [+3250]  ProcessFile: Config parameters invalid
 FATAL ERROR - Terminating program HVite

 

Looking forward for any help! And btw: great tutorial ! GJ !

Cheers!

Tomek 

Reply
Re: Running live HTK
User: kmaclean
Date: 4/3/2008 9:37 pm
Views: 45
Rating: 7    Rate [

+

]

Hi Tomek,

> I can't run live recogniser under Windows.

[...]

> ERROR [+3250]  ProcessFile: Config parameters invalid

What is in your config2 file?  Did you make any changes to the one from the HTK book (Section 3.5, p.42)?:

 # Waveform capture
SOURCERATE=625.0
SOURCEKIND=HAUDIO
SOURCEFORMAT=HTK
ENORMALISE=F
USESILDET=T
MEASURESIL=F
OUTSILWARN=T

Ken

 

Reply
Re: Running live HTK
User: Visitor
Date: 4/4/2008 5:06 am
Views: 56
Rating: 9    Rate [

+

]

Hi there!

Well.. it seems that there is nothing wrong with my config2 and htk projects files. I´ve tried running it all under liunx but no good. Then I´ve copied project files from this tutorial, tried running HVite, but it failed again.

I´m thinking ... can it be hardware problem? Configs are the same, files the same ... it must be hardware problem. Anyone know what to do ?

Regards,

Tomek 

Reply
Re: Running live HTK
User: kmaclean
Date: 4/4/2008 9:35 am
Views: 47
Rating: 9    Rate [

+

]

Hi Tomek,

Lets try to isolate the problem and see if it actually is hardware related.  Can you get Audacity to work (i.e. can you record some audio using your microphone, and play it back)?  Can you get HTK's audio editor to work (HSLab)?

Were there any weird errors when you compiled HTK?

Ken 

Reply
Re: Running live HTK
User: Tomek
Date: 4/6/2008 9:58 am
Views: 50
Rating: 10    Rate [

+

]

Well, under Linux I compiled all without any problems, under Windows I've downloaded binaries. I can run HSLab and record stuff. I can't really guess where the problem could be ... I'll try to compiler sources under Win to see if this problem occures...

 Regars,

Tomek 

Reply
Re: Running live HTK
User: kmaclean
Date: 4/6/2008 8:05 pm
Views: 52
Rating: 9    Rate [

+

]

Hi Tomek, 

>under Linux I compiled all without any problems

Were you able to run the recognizer live in Linux?

This might be a Windows/Linux line ending problem on your config2 file (or your hmm files, or any other text file you might be using ...)  Did you convert all your text files to Windows format before trying to use them with HTK (I am assuming that you created your hmms in Linux and then transferred them to Windows)?  I think Cygwin has the "unix2dos" utility (there is also the "dos2unix" utility).

Ken 

Reply
Add