@viraat I need to create train_loader and test_loader similar to torchvision. Actually I am creating a framework wherein I return train and test loader for the dataset specified in the command line arguments. Can you help with that?