Skip to content

Commit 6c67532

Browse files
committed
fix(automl/tuning): ensure that the valset is batched when evaluating
1 parent 0bb4d1f commit 6c67532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boiling_learning/automl/tuning.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ def fit_hypermodel(
3939

4040
return TuneModelReturn(
4141
model=model,
42-
evaluation=model.evaluate(ds_val),
42+
evaluation=model.evaluate(ds_val.batch(params.batch_size)),
4343
)

0 commit comments

Comments
 (0)