Skip to content

Commit

Permalink
[Bugfix] issue PharMolix#12 (PharMolix#13)
Browse files Browse the repository at this point in the history
Co-authored-by: BioFM <[email protected]>
  • Loading branch information
youngking0727 and PharMolix authored Jun 7, 2023
1 parent 9956214 commit b80366f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_biomed/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _check_lower(self, score, prev_best_score):
"""
return score < prev_best_score

def step(self, score, model, epoch):
def step(self, score, model, epoch=-1):
"""Update based on a new score.
The new score is typically model performance on the validation set
for a new epoch.
Expand Down

0 comments on commit b80366f

Please sign in to comment.