How to train model on specific classes from dataset for object detection? I want to use darkflow to perform object detection. I have 5 classes of objects I want to detect, say , 

  chair
  bottle
  door
  phone
  computer


I want to specifically train my model again, not use pre-trained weights. I plan to train it on images which are annotated with bounding boxes. But all available datasets like imagenet, COCO have images that have objects of other classes also annotated in them. So how can I use these datasets to  train specifically on my 5 classes? I don't want my model training on all the other objects in the images.
You need to change xml or csv files of bounding boxes and from there you need to remove the all classes other then your 5 classes.