From 0dc5dda716ca7abf124a3c629a7c1f138ef9f1c4 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Sun, 28 Jul 2019 07:02:58 -0500 Subject: [PATCH] Deployed 579f111 with MkDocs version: 1.0.4 --- Trainer/hooks/index.html | 9 ++++----- sitemap.xml.gz | Bin 205 -> 205 bytes 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Trainer/hooks/index.html b/Trainer/hooks/index.html index c95e1218..91bbb93a 100644 --- a/Trainer/hooks/index.html +++ b/Trainer/hooks/index.html @@ -638,11 +638,10 @@

[Github Code]

There are cases when you might want to do something different at different parts of the training/validation loop. To enable a hook, simply override the method in your LightningModule and the trainer will call it at the correct time.

-

Contributing If there's a hook you'd like to add, simply: -1. Fork PytorchLightning. -2. Add the hook here.
-3. Add the correct place in the Trainer -where it should be called.

+

Contributing If there's a hook you'd like to add, simply:
+1. Fork PytorchLightning.
+2. Add the hook here.
+3. Add the correct place in the Trainer where it should be called.


on_epoch_start

Called in the training loop at the very beginning of the epoch.

diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 087a7301dfc66bbeda0a1aaae89ef3ed43b080a8..b8510b87b41858b06a2b8fc5f1318865d1760f48 100644 GIT binary patch delta 13 UcmX@hc$Se>zMF&N<3!dI03PlHs{jB1 delta 13 UcmX@hc$Se>zMF$XZX)Xm02`tM*Z=?k