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

Make bars stay in fixed order, replacing themselves on resume #9

Open
jbuckman opened this issue Jan 3, 2020 · 1 comment
Open

Comments

@jbuckman
Copy link

jbuckman commented Jan 3, 2020

I'm running several nested bars. The inner bars may be run many times for each step of the outer bars. When an inner bar completes, it "stays around", and a new version of the bar pops up underneath.

After many iterations, it winds up looking like this:

 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates
 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates   
 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates   
 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates   
 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates   
 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates   
 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates   
 100.00% :::::::::::::::::::::::::::::::::::::::: |       62 /       62 |:  gradient_updates   
   0.00%                                          |        0 /     6250 |:  epochs             
   0.00%                                          |        0 /     1000 |:  policy_improvements
   0.80%                                          |        8 /     1000 |:  bellman_updates 
  29.03% :::::::::::                              |       18 /       62 |:  gradient_updates   

However, there's only ever one gradient_updates bar around at a time, so when I start writing a new one, I'd like it to replace/override the previous one. Here's how I'd like it to look:

   0.00%                                          |        0 /     6250 |:  epochs             
   0.00%                                          |        0 /     1000 |:  policy_improvements
   0.80%                                          |        8 /     1000 |:  bellman_updates 
  29.03% :::::::::::                              |       18 /       62 |:  gradient_updates   

Is this possible?

@TaiSakuma
Copy link
Member

I agree; I would like it to look in the way you would like it to look.

However, that is, unfortunately, not possible in the current version (v1.0.5).

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