I’ve an image dataset given as bunch of json files. Each key is a class label and the corresponding value is a subset of images that have this label, represented as a list of integers.
How should I pre-process and save this data such that I can use DataLoader to fetch batches of it during training?