Skip to content

Commit

Permalink
fix(automl/tuning): ensure that the valset is batched when evaluating
Browse files Browse the repository at this point in the history
  • Loading branch information
ruancomelli committed Sep 17, 2022
1 parent 0bb4d1f commit 6c67532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boiling_learning/automl/tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ def fit_hypermodel(

return TuneModelReturn(
model=model,
evaluation=model.evaluate(ds_val),
evaluation=model.evaluate(ds_val.batch(params.batch_size)),
)

0 comments on commit 6c67532

Please sign in to comment.