timholy / timholy/ProgressMeter.jl
ProgressMeter.next! prints as many bars as updates (on Jupyter notebook)
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 789
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
When I use ``ProgressMeter.next!(progressbar; showvalues = [(:epoch, epoch), (:acc, acc)])`
I get the following behaviour
Progress: 5%|██ | ETA: 0:00:13
epoch: 1
Progress: 10%|████ | ETA: 0:00:11
epoch: 2
Progress: 15%|██████ | ETA: 0:00:09
epoch: 3
Progress: 20%|████████ | ETA: 0:00:08
epoch: 4
I was expecting a single bar that changed, not multiple of them.
I have tried with @showprogressand it works as expected. This is the output:
fit!(percep, X_train, y_train, 20, 0.001)
Progress: 100%|█████████████████████████████████████████| Time: 0:00:07
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in a Jupyter notebook using ProgressMeter.next! with showvalues, then compare it with the working @showprogress behavior. Trace how notebook output is refreshed and consider the issue complete when repeated updates render as one changing progress bar rather than separate bars.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, jupyter-notebook
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100