Skip to content

Commit aa0b509

Browse files
fix
1 parent ed74a15 commit aa0b509

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/train.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ def performRandomSearch(epoch=0):
293293
break
294294
if 'reset' == args.on_patience:
295295
print('Resetting the model to the average of the best models')
296+
bestEpoch = epoch # reset the patience
296297
performRandomSearch(epoch=epoch)
297298
continue
298299
return

0 commit comments

Comments
 (0)