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