Thanks for your reply. I’ve created a Subset object using the relevant indices and the original dataset. However, I’m not sure how to use this in my original DataLoader. Do I simply overwrite the original dataset?
i.e. train_loader.dataset = mysubset
or is there something more complicated that I must do?