diff --git a/pytorch_lightning/trainer/training_io.py b/pytorch_lightning/trainer/training_io.py index 7d0f22def1..99264b7b5b 100644 --- a/pytorch_lightning/trainer/training_io.py +++ b/pytorch_lightning/trainer/training_io.py @@ -17,7 +17,7 @@ To modify the behavior of checkpointing pass in your own callback. # DEFAULTS used by the Trainer checkpoint_callback = ModelCheckpoint( filepath=os.getcwd(), - save_best_only=True, + save_top_k=1, verbose=True, monitor='val_loss', mode='min',