-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Train on images without objects #2532
Comments
@hoangcuongbk80 YOLOv5 datasets can contain images with and without objects. If your image has no objects, it does not need a label txt file. |
Thanks for your reply. I mean does the model learn anything from images without objects (empty)? or it just ignores these images. |
@hoangcuongbk80 It helps to reduce the number of False Positives. You can see a full answer here: #2313 (comment) |
@kinoute Thank you, it's clear now. |
Loss is computed on all images regardless of contents. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
❔Question
Does the model learn from images without objects?
Additional context
80% of my custom dataset is images without objects. Is it make sense to put these images in the training set? Or I just need to train the model on images having objects.
The text was updated successfully, but these errors were encountered: