diff --git a/pytorch_lightning/core/lightning.py b/pytorch_lightning/core/lightning.py index 985f34425d..c241863605 100644 --- a/pytorch_lightning/core/lightning.py +++ b/pytorch_lightning/core/lightning.py @@ -1199,7 +1199,7 @@ class LightningModule( 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]