Skip to content

Commit

Permalink
Fix typo in LightningModule.configure_callbacks() (#9591)
Browse files Browse the repository at this point in the history
  • Loading branch information
hankyul2 authored Sep 18, 2021
1 parent 290398f commit c66d30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/core/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ def configure_callbacks(self):
Example::
def configure_callbacks(self):
early_stop = EarlyStopping(monitor"val_acc", mode="max")
early_stop = EarlyStopping(monitor="val_acc", mode="max")
checkpoint = ModelCheckpoint(monitor="val_loss")
return [early_stop, checkpoint]
Expand Down

0 comments on commit c66d30a

Please sign in to comment.