-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docs remove extra returns from loss and extra args from callback #249
Conversation
There's another optimization error in there. |
The error now looks unrelated, it comes from the brusselator example in showcase https://buildkite.com/julialang/scimldocs/builds/5911#019238d1-6fd5-4ab1-85a3-0f43477ebbdc |
d7750e7
to
1f2cb6a
Compare
newprob = remake(prob, p = state.u) | ||
sol = solve(newprob, saveat = 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't recompute
newprob = remake(prob, p = state.u) | ||
sol = solve(newprob, saveat = 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't recompute
push!(losses, l) | ||
#= Disable plotting as it trains since in docs | ||
display(l) | ||
waveform = compute_waveform(dt_data, soln, mass_ratio, model_params)[1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't recompute
The bruss part should be fixed now. |
Since only that linkcheck failed, I'll just merge this. |
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.