mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Merge pull request #55 from williamFalcon/continue
add training restore
This commit is contained in:
@@ -2,6 +2,14 @@ import torch
|
||||
|
||||
|
||||
class ModelHooks(torch.nn.Module):
|
||||
|
||||
def on_sanity_check_start(self):
|
||||
"""
|
||||
Called before starting validate
|
||||
:return:
|
||||
"""
|
||||
pass
|
||||
|
||||
def on_batch_start(self, data_batch):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user