mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Fix outdated docs follow up (#1266)
* save_top_k * num_gpus * print_nan_grads fix leftovers * undo doctest removal
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user