Skip to content

Commit

Permalink
pass verbosity to collate in update
Browse files Browse the repository at this point in the history
  • Loading branch information
tiemvanderdeure committed Sep 9, 2024
1 parent ff32ca5 commit 56838bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlj_model_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function MLJModelInterface.update(model::MLJFluxModel,
rng = true_rng(model)
chain = build(model, rng, shape) |> move
# reset `optimiser_state`:
data = move.(collate(model, X, y))
data = move.(collate(model, X, y, verbosity))
nbatches = length(data[2])
regularized_optimiser = MLJFlux.regularized_optimiser(model, nbatches)
optimiser_state = Optimisers.setup(regularized_optimiser, chain)
Expand Down

0 comments on commit 56838bf

Please sign in to comment.