From 38d6b2598e926ac743b089e745d6706572f45475 Mon Sep 17 00:00:00 2001 From: siahuat0727 Date: Tue, 4 Aug 2020 23:46:35 +0800 Subject: [PATCH] Fix docs typo (#2778) --- pytorch_lightning/callbacks/model_checkpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/callbacks/model_checkpoint.py b/pytorch_lightning/callbacks/model_checkpoint.py index bfade6f024..c0a80d55f3 100644 --- a/pytorch_lightning/callbacks/model_checkpoint.py +++ b/pytorch_lightning/callbacks/model_checkpoint.py @@ -50,7 +50,7 @@ class ModelCheckpoint(Callback): monitor: quantity to monitor. verbose: verbosity mode. Default: ``False``. save_last: always saves the model at the end of the epoch. Default: ``False``. - save_top_k: if `save_top_k == k`, + save_top_k: if ``save_top_k == k``, the best k models according to the quantity monitored will be saved. if ``save_top_k == 0``, no models are saved.