Comments

Flat
Running live HTK
User: Tomek
Date: 4/1/2008 3:30 pm
Views: 10718
Rating: 22

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 

Re: Running live HTK
User: kmaclean
Date: 4/3/2008 9:37 pm
Views: 168
Rating: 15

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

 

Re: Running live HTK
User: Visitor
Date: 4/4/2008 5:06 am
Views: 187
Rating: 17

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 

Re: Running live HTK
User: kmaclean
Date: 4/4/2008 9:35 am
Views: 269
Rating: 19

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 

Re: Running live HTK
User: Tomek
Date: 4/6/2008 9:58 am
Views: 196
Rating: 19

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 

Re: Running live HTK
User: kmaclean
Date: 4/6/2008 8:05 pm
Views: 173
Rating: 14

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 

Re: Running live HTK
User: HoaVo
Date: 4/18/2012 11:17 am
Views: 410
Rating: 7

I have just got that. And i resolved it.

You need used again file config in training process to have a parameter to decode.So copy again file config i command HVite,and add the config for regconize live:

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

Then you can run Hvite with config like as above wherever linux or window.

i measure it.

Cheers!

Re: Running live HTK
User: jane
Date: 4/5/2013 8:23 am
Views: 251
Rating: 5

i did not get this solution. plz someone explain it.

Re: Running live HTK
User: DJ
Date: 2/14/2014 2:59 pm
Views: 57
Rating: 6

I had the same problem in my Windows.

I made it by adding the last three lines in my param file.

Hope this helps.

 

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

TARGETKIND = MFCC_0_D_A
WINDOWSIZE = 250000.0
TARGETRATE = 100000.0

 

 

Re: Running live HTK
User: shireen
Date: 5/22/2015 11:07 am
Views: 38
Rating: 1

this isn't solving my problem . Can u please post your config2 file?

 

ERROR [+6320]  OpenAsChannel: cannot zero mean within buffer

ERROR [+6316]  OpenBuffer: OpenAsChannel failed

ERROR [+3250]  ProcessFile: Config parameters invalid

FATAL ERROR - Terminating program HVite

PreviousNext