General Discussion

Flat
Error [+2221] when running HRest
User: ossia
Date: 7/5/2011 1:07 pm
Views: 7904
Rating: 4


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) ---

Re: Error [+2221] when running HRest
User: kmaclean
Date: 7/18/2011 8:29 pm
Views: 883
Rating: 4

> 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) ---

Re: Error [+2128] when running HRest
User: Visitor
Date: 5/14/2012 9:20 am
Views: 216
Rating: 3

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) ---

Re: Error [+2128] when running HRest
User: nandk
Date: 5/15/2012 3:52 am
Views: 510
Rating: 3

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 ) ---

Re: Error [+2221] when running HRest
User: gene8
Date: 8/30/2014 6:01 am
Views: 1568
Rating: 4

I have the same problem anyone have a solution?

--- (Edited on 8/30/2014 6:01 am [GMT-0500] by gene8) ---

--- (Edited on 8/30/2014 6:02 am [GMT-0500] by gene8) ---

PreviousNext