From 19e13e776b30c602fd0c82cab2b885255cb376de Mon Sep 17 00:00:00 2001 From: William Falcon Date: Thu, 16 Jan 2020 10:33:19 -0500 Subject: [PATCH] working on trainer docs --- pytorch_lightning/trainer/trainer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pytorch_lightning/trainer/trainer.py b/pytorch_lightning/trainer/trainer.py index b071cbe8..866ccd3b 100644 --- a/pytorch_lightning/trainer/trainer.py +++ b/pytorch_lightning/trainer/trainer.py @@ -403,15 +403,15 @@ class Trainer(TrainerIOMixin, Example:: # default used by the Trainer (ie: disabled) trainer = Trainer(truncated_bptt_steps=None) - + # backprop every 5 steps in a batch trainer = Trainer(truncated_bptt_steps=5) - + resume_from_checkpoint (str): To resume training from a specific checkpoint pass in the path here.k Example:: # default used by the Trainer trainer = Trainer(resume_from_checkpoint=None) - + # resume from a specific checkpoint trainer = Trainer(resume_from_checkpoint='some/path/to/my_checkpoint.ckpt') """