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
how to use the images contains no objects? #898
Comments
Yes. https://github.com/AlexeyAB/darknet#how-to-improve-object-detection
|
Should i give background images as an another class? For example, if i want to detect cars, i should have a bunch of images with car with label 1. But when i add background images, should i create only empty file and configure my yolo_voc.cfg file's class value as a 1 or 2? For example; because of i have 1 class, my file consists; classes=1 and filters=30. But did i do classes=2 and filters=35. (i'm talking about Yolov2) Thank you @AlexeyAB |
how did you deal with it? I also met this problem. |
Do we have to add the negative image paths to the |
Yes, you are supposed to add it to your |
How does yolo use these empty labels to calculate loss? |
Dear all, can the negative images be added to both train.txt and valid.txt? Thanks! |
yes. that's what i do. |
In my setting, there are some images contain some persons and some images no persons(background images). how can i use all of them for training the yolo? Should I add empty txt files for the background images?
The text was updated successfully, but these errors were encountered: