1
0

oops, epoch increments twice

This commit is contained in:
mrq 2023-02-25 15:31:18 +00:00
parent 8b4da29d5f
commit 65329dba31

View File

@ -542,7 +542,7 @@ class TrainingState():
if line.find('%|') > 0 and not self.open_state: if line.find('%|') > 0 and not self.open_state:
if owner: if owner:
self.open_state = True self.open_state = True
elif lapsed: elif lapsed and self.open_state:
if owner: if owner:
self.open_state = False self.open_state = False
self.epoch = self.epoch + 1 self.epoch = self.epoch + 1