VoxForge
I have been trying to follow up on a tutorial to build a YES/NO Recognition System.
When I try to run HRest, using the following command line:
HRest -A -D -T 1 -S trainlist.txt -M model/hmm1 -H vFloors -H model/hmm0/hmm_yes -l label -L data/train/lab yes
I get the following error message:
ERROR [+2221]: Too few training examples. There are fewer training examples than the minimum set by the -m option(default 3). Either reduce the value specified by -m or use more training examples.
I should actually have 10 training examples for "yes" and 10 for "no". I have never modified the default minimum number of training examples either. I dont know why I get this error message. Perhaps it fails to access the training examples but no idea why.
I have recorded the word YES, 10 times using HSlab, saved in .sig format. Then labeled them. then trained them using HInit which returned the .mfcc files for all training examples. The address of the .mfcc files as the training examples was saved in the text file trainlist.txt which was used in the HRest command line.
Any one knows what the problem might be?
Thank
--- (Edited on 7/5/2011 1:07 pm [GMT-0500] by ossia) ---
> I dont know why I get this error message.
as the error says, you need more training samples...
best to follow the VoxForge Acoustic Model Creation Tutorial, and once that works, try expermirmenting with different grammar sizes.
--- (Edited on 7/18/2011 9:29 pm [GMT-0400] by kmaclean) ---
Hi I used the below command and got the error message, any idea what might be wrong? read some previous threads which say something might be wrong with vfloors file, but i got vfloors from HCompv
Need your help urgently!
sudo HRest -A -D -T 1 -S trainlist.scp -M model/hmm1 -H vFloors -H /home/test/htk_tut/model/hmm0/hmm_no -l no -L /home/test/htk_tut/data/train/lab/ no
ERROR [+5010] InitSource: Cannot open source file vFloors
ERROR [+7010] LoadAllMacros: Can't open file
ERROR [+7050] LoadHMMSet: Macro name expected
ERROR [+2128] Initialise1: LoadHMMSet failed
FATAL ERROR - Terminating program HRest
Thanks in advance!
--- (Edited on 5/14/2012 9:20 am [GMT-0500] by Visitor) ---
solved! remove vfloors from the command when you have enough number of clips for training data! it will still give you good results.
--- (Edited on 5/15/2012 3:52 am [GMT-0500] by ) ---