Use [this script](https://github.com/tensorflow/models/blob/master/research/object_detection/dataset_tools/create_oid_tf_record.py) as a basis for this dataset creation process.