Fix outdated docs follow up (#1266)

* save_top_k

* num_gpus

* print_nan_grads fix leftovers

* undo doctest removal
This commit is contained in:
Adrian Wälchli
2020-03-28 11:30:57 -04:00
committed by GitHub
parent 12b39a74b4
commit 0b0180406b
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -35,7 +35,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=True,
verbose=True,
monitor='val_loss',
mode='min',