VoxForge
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
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)?:
Ken# Waveform capture
SOURCERATE=625.0
SOURCEKIND=HAUDIO
SOURCEFORMAT=HTK
ENORMALISE=F
USESILDET=T
MEASURESIL=F
OUTSILWARN=T
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
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
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
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
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!
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
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