early epoch stopping
This commit is contained in:
parent
1961a6abb2
commit
ffd6dc678c
|
@ -326,7 +326,7 @@ class Trainer(TrainerIO):
|
|||
|
||||
def __run_tng_batch(self, data_batch):
|
||||
if data_batch is None:
|
||||
return
|
||||
return 0
|
||||
|
||||
# hook
|
||||
if self.__is_function_implemented('on_batch_start'):
|
||||
|
|
Loading…
Reference in New Issue