Skip to content

Commit

Permalink
Update examples/mnist_lightning.py
Browse files Browse the repository at this point in the history
Co-authored-by: Karthik Prasad <[email protected]>
  • Loading branch information
dwahdany and karthikprasad committed Jan 5, 2024
1 parent ad26433 commit 2ccbcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mnist_lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def configure_optimizers(self):

if self.enable_dp:
self.trainer.fit_loop.setup_data()
dataloader = self.trainer.train_dataloader
data_loader = self.trainer.train_dataloader

# transform (model, optimizer, dataloader) to DP-versions
if hasattr(self, "dp"):
Expand Down

0 comments on commit 2ccbcc7

Please sign in to comment.