Skip to content
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

Optimization summary is gone? #120

Closed
seadra opened this issue Mar 24, 2021 · 3 comments
Closed

Optimization summary is gone? #120

seadra opened this issue Mar 24, 2021 · 3 comments

Comments

@seadra
Copy link

seadra commented Mar 24, 2021

DiffEqFlux.sciml_train used to print an informative summary at the end, like this

 * Status: failure

 * Candidate solution
    Final objective value:

 * Found with
    Algorithm:     BFGS

 * Convergence measures
...

 * Work counters
    Seconds run:   138  (vs limit Inf)
    Iterations:    78
    f(x) calls:    100
    ∇f(x) calls:   100

but it is gone in the current release. Is it behind an option, or is it completely gone?

(I initially opened this issue in DiffEqFlux but I was told to report it here SciML/DiffEqFlux.jl#513)

@ChrisRackauckas
Copy link
Member

@mkg33 added some prints that now live here:

https://github.com/SciML/SciMLBase.jl/blob/master/src/solutions/optimization_solutions.jl#L26-L49

We could definitely keep improving this.

@seadra
Copy link
Author

seadra commented Mar 24, 2021

Running DiffEqFlux.sciml_train() currently only prints u (which is probably not much helpful), and it doesn't actually show "Final objective value" at all from the code you linked.

I can see it when I do print(DiffEqFlux.sciml_train(...)) though.

@ChrisRackauckas
Copy link
Member

Uniform now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants