From f162fd1e95145bc4ebe17a867dfad0f3179c9e8b Mon Sep 17 00:00:00 2001 From: William Falcon Date: Thu, 16 Jan 2020 16:51:23 -0500 Subject: [PATCH] finished lightning module --- pytorch_lightning/callbacks/pt_callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytorch_lightning/callbacks/pt_callbacks.py b/pytorch_lightning/callbacks/pt_callbacks.py index 72d41abf..4c7d877a 100644 --- a/pytorch_lightning/callbacks/pt_callbacks.py +++ b/pytorch_lightning/callbacks/pt_callbacks.py @@ -87,7 +87,7 @@ class EarlyStopping(Callback): mode, the direction is automatically inferred from the name of the monitored quantity. - Example: + Example:: from pytorch_lightning import Trainer from pytorch_lightning.callbacks import EarlyStopping @@ -360,7 +360,7 @@ class GradientAccumulationScheduler(Callback): Args: scheduling (dict): scheduling in format {epoch: accumulation_factor} - Example: + Example:: from pytorch_lightning import Trainer from pytorch_lightning.callbacks import GradientAccumulationScheduler