Skip to content

Commit

Permalink
Swap print statement for logger
Browse files Browse the repository at this point in the history
  • Loading branch information
jshuadvd committed Jul 6, 2024
1 parent 7b00be2 commit c670e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def train(
else:
patience += 1
if patience >= max_patience:
print("Early stopping triggered")
logger.info("Early stopping triggered")
break


Expand Down

0 comments on commit c670e3f

Please sign in to comment.