From 2b258a6813fa2a472aa634683c082e2dfb4af97a Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 15 Jan 2020 20:36:57 -0500 Subject: [PATCH] finished callbacks --- docs/source/new-project.rst | 3 +++ pytorch_lightning/callbacks/pt_callbacks.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/new-project.rst b/docs/source/new-project.rst index 5c03b9e5..9521febc 100644 --- a/docs/source/new-project.rst +++ b/docs/source/new-project.rst @@ -68,4 +68,7 @@ Then you could do rapid research by switching between these two and using the sa 1. You're writing pure PyTorch... no unnecessary abstractions or new libraries to learn. 2. You get free GPU and 16-bit support without writing any of that code in your model. +<<<<<<< HEAD 3. You also get early stopping, multi-gpu training, 16-bit and MUCH more without coding anything! +3. You also get all of the capabilities below (without coding or testing yourself). + diff --git a/pytorch_lightning/callbacks/pt_callbacks.py b/pytorch_lightning/callbacks/pt_callbacks.py index 1549f54d..001981e4 100644 --- a/pytorch_lightning/callbacks/pt_callbacks.py +++ b/pytorch_lightning/callbacks/pt_callbacks.py @@ -382,7 +382,6 @@ class GradientAccumulationScheduler(Callback): if minimal_epoch < 1: msg = f"Epochs indexing from 1, epoch {minimal_epoch} cannot be interpreted correct" raise IndexError(msg) - elif minimal_epoch != 1: # if user didnt define first epoch accumulation factor scheduling.update({1: 1})