title: How to train Tensorflow Object Detection images that do not contain objects?
body: <p>I am training an object detection network using Tensorflow's object detection,</p>
  
  <p><a href="https://github.com/tensorflow/models/tree/master/research/object_detection" rel="noreferrer">https://github.com/tensorflow/models/tree/master/research/object_detection</a></p>
  
  <p>I can successfully train a network based on my own images and labels.
  However, I have a large dataset of images that do not contain any of my labeled objects, and I want to be able to train the network to not detect anything in these images.</p>
  
  <p>From what I understand with Tensorflow object detection, I need to give it a set of images and corresponding XML files that box and label the objects in the image. The scripts convert the XML to CSV and then to another format for the training, and do not allow XML files that have no objects.</p>
  
  <p>How to give an image and XML files that have no objects?</p>
  
  <p>Or, how does the network learn what is not an object?</p>
  
  <p>For example if you want to detect "hot dogs" you can train it with a set of images with hot dogs. But how to train it what is not a hot dog?</p>