Skip to content

Instantly share code, notes, and snippets.

@harsh-99
Created February 25, 2020 07:21
Show Gist options
  • Save harsh-99/d3bbefb65d0085ebe4d8eaba11a0bf3e to your computer and use it in GitHub Desktop.
Save harsh-99/d3bbefb65d0085ebe4d8eaba11a0bf3e to your computer and use it in GitHub Desktop.
data = torchvision.datasets.MNIST(root = 'Data', transform = transform, train=True, download = True)
data_loader = torch.utils.data.DataLoader(dataset = data, shuffle = True, batch_size = batch_size)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment