Refer to
For training a single class detector, it is easy. You just need to delete all the classes you do not want to train.