Skip to content

Commit

Permalink
Fix typo (#2907)
Browse files Browse the repository at this point in the history
Variable defined as `mnist_dm` but used as `mnist`. Change to use `mnist_dm`.
  • Loading branch information
shivdhar committed Aug 11, 2020
1 parent 35a3fd2 commit 0097630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/introduction_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Using DataModules allows easier sharing of full dataset definitions.
# use an MNIST dataset
mnist_dm = MNISTDatamodule()
model = LitModel(num_classes=mnist.num_classes)
model = LitModel(num_classes=mnist_dm.num_classes)
trainer.fit(model, mnist_dm)
# or other datasets with the same model
Expand Down

0 comments on commit 0097630

Please sign in to comment.