Hi Deepak,
I used the method you suggested. I am able to split the dataset but not able to use the dataloaders. I tried using dataloaders as follows
for i_batch, sampled_batch in enumerate(dataloaders[‘train’]):
print(i_batch)
This code generally works with dataloader but throws an error with dataloaders[‘train’]. The error is shown below:
Type Error: len() of unsized object