Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenWizard2015 committed Jun 4, 2024
1 parent ed74a15 commit aa0b509
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def performRandomSearch(epoch=0):
break
if 'reset' == args.on_patience:
print('Resetting the model to the average of the best models')
bestEpoch = epoch # reset the patience
performRandomSearch(epoch=epoch)
continue
return
Expand Down

0 comments on commit aa0b509

Please sign in to comment.