Created
July 29, 2019 17:45
-
-
Save williamFalcon/f2e989c981205308defd70a91c9a7cdd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dataset = MNIST(root=self.hparams.data_root, train=train, download=True) | |
loader = DataLoader(dataset, batch_size=32, shuffle=True) | |
for batch in loader: | |
x, y = batch | |
model.training_step(x, y) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment