fasterrcnn-pytorch-training-pipeline icon indicating copy to clipboard operation
fasterrcnn-pytorch-training-pipeline copied to clipboard

Why are images without objects removed?

Open tolsicsse opened this issue 2 years ago • 1 comments

Thanks for this light weight faster rcnn implementation! However, I have been using Detectron2, and it is able to train on images without objects. I think it would be good to use them as negative examples.

tolsicsse avatar Nov 24 '22 08:11 tolsicsse

@tolsicsse Thanks for the suggestion. I think Darknet also retains the images without ground truth bounding boxes. I did not know that Detectron 2 also does that. I have been trying to figure out the pipeline for that for some time now. But generally, the albumentations augmentations part will throw an error without ground truth boxes. Many other libraries also discard images without objects. But I am sure that what you are suggesting is bound to help. Still I will try to implement it.

sovit-123 avatar Nov 24 '22 09:11 sovit-123