Torch.utils.data.dataset.random_split

Thank you ptrblck. I will try this.
But I would like ask whether is it a good idea to manually split my dataset and then create two separate Dataset objects from two different image folders? Is this a good practice?

2 Likes