From 24a97956e483b448c9b3ccc666e7cc80efcc6ff4 Mon Sep 17 00:00:00 2001 From: Ir1dXD Date: Sat, 17 Aug 2019 19:48:33 +0800 Subject: [PATCH] fix typo in docs (#129) * fix typo * fix typo * fix typo * fix list --- docs/LightningModule/RequiredTrainerInterface.md | 4 ++-- docs/Trainer/Checkpointing.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/LightningModule/RequiredTrainerInterface.md b/docs/LightningModule/RequiredTrainerInterface.md index 01a76342..9c280a00 100644 --- a/docs/LightningModule/RequiredTrainerInterface.md +++ b/docs/LightningModule/RequiredTrainerInterface.md @@ -385,7 +385,7 @@ def on_load_checkpoint(self, checkpoint): ``` {.python} @pl.data_loader -def tng_dataloader(self) +def val_dataloader(self) ``` **OPTIONAL** If you don't need a validation dataset and a validation_step, you don't need to implement this method. @@ -457,7 +457,7 @@ def test_dataloader(self): def update_tng_log_metrics(self, logs) ``` Called by lightning right before it logs metrics for this batch. -This is a chance to ammend or add to the metrics about to be logged. +This is a chance to amend or add to the metrics about to be logged. ##### Return Dict diff --git a/docs/Trainer/Checkpointing.md b/docs/Trainer/Checkpointing.md index ad0c0158..de99f958 100644 --- a/docs/Trainer/Checkpointing.md +++ b/docs/Trainer/Checkpointing.md @@ -1,4 +1,4 @@ -i Lightning can automate saving and loading checkpoints. +Lightning can automate saving and loading checkpoints. --- ### Model saving @@ -38,6 +38,7 @@ trainer.fit(model) ``` The trainer restores: + - global_step - current_epoch - All optimizers