We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f4be42 commit 11a1d2eCopy full SHA for 11a1d2e
pytorch_lightning/trainer/training_loop.py
@@ -70,7 +70,6 @@ def on_trainer_init(
70
self.trainer.batch_idx = 0
71
self.trainer.num_training_batches = 0
72
self.trainer.train_dataloader = None
73
- self.automatic_optimization: bool = ...
74
75
# If neither max_epochs or max_steps is set, then use existing default of max_epochs = 1000
76
self.trainer.max_epochs = 1000 if (max_epochs is None and max_steps is None) else max_epochs
0 commit comments