How to add hard negative examples in Tensorflow object detection api

Viewed 648

I am training pre-trained SSD on my custom dataset which is working fine with test images. But when a new image comes with no object(hard negative), it detects false positive. I was looking for a way for adding these hard negative examples in training but did not find an exact procedure. Could someone help me out here?

  1. How do I add hard negative examples to training?

  2. Do I have to create XML files/ bounding boxes for hard negative images?

  3. How do I create tf records for these hard negative images?

  4. Do I have to edit code files to generate tf records or config file?

0 Answers
Related