# Revision history [back]

To solve that problem you have to train your classifier with slightly less positive samples than you actually have.

So, if you generated a .vec file (with the createsamples.exe utility) with, lets say, 500 positive samples, you must call haartraining.exe with input parameter -npos 450 (for example).

Don't ask me why this is the case.

To solve that problem you have to train your classifier with slightly less positive samples than you actually have.

So, if you generated a .vec file (with the createsamples.exe utility) with, lets say, 500 positive samples, you must call haartraining.exe with input parameter -npos 450 (for example).

Don't ask me why this is the case.