Is there a recommended method of obtaining the indices of the dataset that are sampled by a torch.utils.data.DataLoader?
I know that a RandomSampler will return a list of indices, but there doesn’t seem to be a way to access those indices once the sampler has been passed to a torch.utils.data.DataLoader.