Output do not update after close and reopen the notebook page
See original GitHub issueHi,
I am using a library named keras with jupyter notebook. It’s nice that keras use a text progress bar to indicate the progress like this:
Train on 381734 samples, validate on 20092 samples
Epoch 1/1
381734/381734 [==============================] - 257s - loss: 0.4094 - val_loss: 0.2863
But the problem is that, if the script is running with the progress bar, I can’t close the webpage which I used to start the script. Otherwise I won’t see the progress bar update anymore, when I open the notebook again, if it’s still running, the title will become something like “(Starting) XXXXXX”, but I can’t see any update in the page.
The progress bar used by keras is like this: https://github.com/fchollet/keras/blob/b126b6328a44fa3332d2d7fd011da3ff196a669a/keras/utils/generic_utils.py
Can anyone look into this?
Thanks in advance.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:38
- Comments:78 (12 by maintainers)
Top Results From Across the Web
Reloading closed jupyter notebook - python - Stack Overflow
I was wondering if there's a way to keep the kernel running and update the output when the notebook is reloaded in the...
Read more >Close and reopen notebooks in OneNote - Microsoft Support
To open the notebook again, click or tap More Notebooks in the Notebooks list. Note: For OneNote 2016, learn how to close a...
Read more >Restoring computation output after disconnect in Jupyter ...
I have found that after reconnecting I need to close the browser tab with the notebook and re-open it (*without* restarting the kernel...
Read more >Jupyter output view fails to update after a period of inactivity ...
If I close the notebook file and re-open it the preview will be updated to whatever state it should have been before closing...
Read more >Progress bar disappearing when closing and reopening the ...
Not that I know of (this isn't linked to the progress bar, any update to a cell output will stop happening once you've...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For anyone looking for a quick workaround:
WS
(Websockets)I am facing the same issue. Is it possible to reopen a notebook and get the output of the running kernel ?