mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
finished callbacks
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user