You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to set the showspeed kwarg when constructing a ProgressThresh:
julia> prog = ProgressThresh(1e-5, "Minimizing:");
julia> for val in exp10.(range(2, stop=-6, length=20))
ProgressMeter.update!(prog, val)
sleep(0.1)
end
Minimizing: Time: 0:00:06 (18 iterations)
julia> prog = ProgressThresh(1e-5, "Minimizing:", showspeed=true);
ERROR: MethodError: no method matching ProgressThresh(::Float64, ::String; showspeed=true)
Closest candidates are:
ProgressThresh(::Real, ::AbstractString) at C:\Users\Dennis Bal\.julia\packages\ProgressMeter\Vf8un\src\ProgressMeter.jl:168 got unsupported keyword argument "showspeed"
ProgressThresh(::Real, ::AbstractString, ::Integer) at C:\Users\Dennis Bal\.julia\packages\ProgressMeter\Vf8un\src\ProgressMeter.jl:168 got unsupported keyword argument "showspeed"
ProgressThresh(::Real; kwargs...) at C:\Users\Dennis Bal\.julia\packages\ProgressMeter\Vf8un\src\ProgressMeter.jl:160
...
Stacktrace:
[1] top-level scope
@ REPL[172]:1
As a side-note, I am showing the progress of a process that tries to achieve some accuracy. It would be cool to be able to show something like 10/15 iterations at the end of the progress meter. That is what I am trying to do, but I do not think it is possible - the numbers will be evaluated to 0.66666 and shown as iter/maxiter.
The text was updated successfully, but these errors were encountered:
I am unable to set the
showspeed
kwarg when constructing a ProgressThresh:As a side-note, I am showing the progress of a process that tries to achieve some accuracy. It would be cool to be able to show something like
10/15 iterations
at the end of the progress meter. That is what I am trying to do, but I do not think it is possible - the numbers will be evaluated to 0.66666 and shown asiter/maxiter
.The text was updated successfully, but these errors were encountered: