-
Notifications
You must be signed in to change notification settings - Fork 468
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
Error "Train dataset for temp stage can not be filled. Branch training terminated." #8
Comments
Hey! That's a pretty common error. See all these questions on the OpenCV board. There is not much I know about this error and I can only guess a solution, since there are a lot of possible reasons for that error. And without any information about your setup there is nothing I can do. |
I have 55 positive images and 395 negative images (all images are 32x32). I created my pos.dat and neg.dat files as: $ find positive_images/ -name '.jpg' -exec echo {} 1 0 0 32 32 ; > pos.dat Create my vec file as: And my training: And I got the following output error: ===== TRAINING 0-stage ===== ===== TRAINING 1-stage ===== ===== TRAINING 2-stage ===== |
Sorry, I have no idea! Again, I can only guess. And since this problem doesn't directly affect this project, I'm closing the issue for now. |
i have same problem, but when i put the bg.txt into build/bin directory, the error has gone, works fine now |
Hi,
|
also have this problem and do not find a way to handle this. |
Hello, |
I was looking through the same situation and thankfully this was the answer, thanks! |
I am trying to train a haar-like features using this tutorial, but I always have my training ended because this error:
"Train dataset for temp stage can not be filled. Branch training terminated."
How can I fix this?
The text was updated successfully, but these errors were encountered: