(yolo - object detection)
if there are two dogs in the image and I trained on only one of them in all images that exist in the training set, is the other dogs in the training set that I didn't label and train on them will affect on the process and will cause to consider them part of background? I am asking especially about yolo darknet object detection.
it seems so, because after 3000 batches it didn't detect anything. so the question, should I train on all objects (like all dogs in all training set) or it doesn't matter because the yolo will take the features only from the labeled ones and ignore the background?
To achieve a robust YOLOv5 model, it is recommended to train with over 1500 images per class, and more then 10,000 instances per class. It is also recommended to add up to 10% background images, to reduce false-positives errors.
You only look once (YOLO) is a system for detecting objects on the Pascal VOC 2012 dataset. It can detect the 20 Pascal object classes: person. bird, cat, cow, dog, horse, sheep.
Yes, it is important that all the objects that you want to find - are marked on image from training dataset. You teach to find objects where they are, and not to find objects where none exist.
CNN Yolo try to solve 3 problems:
I.e. Yolo looking for differences, why the first dog is considered to be an object, and the second considered the background. If you want to find any dogs, but you label only some of them, and labeled dogs are not statistically different from not labeled dogs, then it will be extremely low accuracy of detection. Because abs(positive_error) ~= abs(negative_error)
and result of training sum(positive_errors) + sum(negative_errors) ~= 0
. It is a contradictory task - you want at the same time: and find a dog, and don't find the dog.
But if labeled dogs are statistically different from not labeled dogs, for example if labeled bulldogs and not labeled labradors, then Yolo-network will been trained to distinguish one from another.
it seems so, because after 3000 batches it didn't detect anything.
It is not enough, Yolo requires 10000 - 40000 iterations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With