Skip to content

Conversation

casperdcl
Copy link
Member

@casperdcl casperdcl commented Oct 25, 2020

from tqdm.notebook import trange
t = trange(int(1e7), display=False)
display(t.container)
for _ in t:
    pass
  • same for tqdm.keras
from tqdm.keras import TqdmCallback
...
tqdm_callback = TqdmCallback(..., display=False)
tqdm_callback.display()
model.fit(..., verbose=False, callbacks=[tqdm_callback])

screenshots

image

image


@casperdcl casperdcl added p3-enhancement 🔥 Much new such feature to-merge ↰ Imminent submodule-notebook 📓 Much web such IDE labels Oct 25, 2020
@casperdcl casperdcl added this to the Non-breaking milestone Oct 25, 2020
@casperdcl casperdcl self-assigned this Oct 25, 2020
@casperdcl casperdcl mentioned this pull request Oct 25, 2020
@codecov-io
Copy link

codecov-io commented Oct 25, 2020

Codecov Report

Merging #1059 (669002c) into devel (481815a) will increase coverage by 0.03%.
The diff coverage is 13.33%.

@@            Coverage Diff             @@
##            devel    #1059      +/-   ##
==========================================
+ Coverage   83.22%   83.25%   +0.03%     
==========================================
  Files          22       22              
  Lines        1508     1571      +63     
  Branches      259      290      +31     
==========================================
+ Hits         1255     1308      +53     
- Misses        222      232      +10     
  Partials       31       31              

@casperdcl casperdcl changed the title notebook: support delay display notebook: support delay display & other kwargs Nov 7, 2020
@casperdcl casperdcl merged commit e5cfc06 into devel Nov 7, 2020
@casperdcl casperdcl deleted the nb-delay-disp branch May 3, 2021 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-enhancement 🔥 Much new such feature submodule-notebook 📓 Much web such IDE to-merge ↰ Imminent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants