From c66d30a4aa9615cf1b81e76e416c162bf9d2f0a3 Mon Sep 17 00:00:00 2001 From: han Date: Sat, 18 Sep 2021 22:34:09 +0900 Subject: [PATCH] Fix typo in `LightningModule.configure_callbacks()` (#9591) --- pytorch_lightning/core/lightning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]