-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCV Error: Bad argument (Can not get new positive sample. The most possible reason is insufficient count of samples in given vec-file. #2
Comments
Hi IvyGongoogle, did you ever solve this training classifier problem? I am having the same error thrown. Thanks |
@ChrisTayl2018 have u solved the error and could you help me. |
i got same error did u solve it or not? |
I got the same error pls help |
To fix this, you need to increase the number of samples in the vec file, the num parameter is responsible for this.
|
This worked for me. Thank you |
ME PUEDES DECIR COMO LO HICISTE? |
hello, I begin to train the model. In your example, you use
-numPos 68 -numNeg 140
, so I use 25 for the number of pos and 55 for the number of neg. But it shows error:I google this error and find the common solution is about reducing the number of positive sample like link1 and link2 said. So now I am confused about the configuration of numPos and numNeg. how to solve my this error? can you give some advises?
look forward to your reply.
thank you very much~~
The text was updated successfully, but these errors were encountered: