Skip to content

Commit

Permalink
Remove 'no validation file' warning (#671)
Browse files Browse the repository at this point in the history
This warning is triggered anytime a model is created and causes confusion for zero-shot users #664.

Closes #664
  • Loading branch information
ethanwhite authored Jun 13, 2024
1 parent 670afd5 commit 2b7bfac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deepforest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def create_trainer(self, logger=None, callbacks=[], **kwargs):
num_sanity_val_steps = 2
else:
# Disable validation, don't use trainer defaults
print("No validation file provided. Turning off validation loop")
limit_val_batches = 0
num_sanity_val_steps = 0
# Check for model checkpoint object
Expand Down

0 comments on commit 2b7bfac

Please sign in to comment.