mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-29 13:30:57 +08:00
added direct links to docs
This commit is contained in:
1 parent
6a2e00bac4
commit
179515083e
1 file changed
+1
@@ -382,6 +382,7 @@ 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})
|
||||
|
||||
|
||||
Reference in new issue
Block a user