Dataset and dataloader
A dataloader reads a dataset’s annotation file and image folder and returns one sample per image:image_id, image_path and the list of object names in categories. Mirage ships loaders for COCO and Visual Genome in dataloader/. A new dataset needs a loader that returns the same fields.