Chart domains should update as training progresses
See original GitHub issueTensorBoard version: https://pypi.org/project/tb-nightly/1.14.0a20190301/
Repro steps:
- Train with
Keras.fit()
using the TensorBoard callback for 5 epochs - Open TensorBoard and look at the Scalars dashboard. See the loss and accuracy charts for epochs 1-5.
- Continue training with
Keras.fit()
using the TensorBoard callback for another 5 epochs
Expected: As long as I didn’t manually change the zoom of the charts, the chart should rescale to show me the new data (of the new epochs).
Actual: The data from the continued training gets added to the chart but I can see that it goes off the chart.
Relevant code (assuming notebook environment):
model.fit(x=x_train,
y=y_train,
epochs=5,
validation_data=(x_test, y_test),
callbacks=[tensorboard_callback])
%tensorboard --logdir logs
model.fit(x=x_train,
y=y_train,
epochs=10,
initial_epoch=5,
validation_data=(x_test, y_test),
callbacks=[tensorboard_callback])
Image of current behavior:
Note: this is not specific to Keras.fit()
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How to use Learning Curves to Diagnose Machine Learning ...
Learning curves are a widely used diagnostic tool in machine learning for algorithms that learn from a training dataset incrementally. The model ...
Read more >Using charts on project Dashboards to track progress - Asana
These charts help to instantly identify potential blockers in your team's work and move the project forward. The Dashboard tab is a good...
Read more >A Complete Guide to Line Charts | Tutorial by Chartio
Line charts are a fundamental chart type generally used to show change in values across time. Learn how to best use this chart...
Read more >Gantt Chart: The Ultimate Guide (with Examples)
Gantt charts are key to successful projects; learn everything you need to know ... progress in real time and drag and drop timelines...
Read more >Prepare Active Directory and domains for Exchange Server
The previous /IAcceptExchangeServerLicenseTerms switch will not work starting with the September 2021 Cumulative Updates (CUs). You now must use ...
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
yea the fact that domain doesn’t refit is definitely confusing to me.
Thanks for your continued interest, folks. I’m happy to announce that our experimental new Time Series dashboard in TensorBoard 2.4.0 (most recent release) addresses the “refit on update” part of the issue. The new dashboard lets you view scalars, histograms, and images side-by-side in a combined view, and the scalar charts in the Time Series dashboard should auto-adjust the chart domain when new data is loaded as long as you haven’t changed the pan or zoom settings.
Please give that a try if you can and let us know if you have feedback. We recognize the “pan horizontally on update” part of the FR is not addressed by these changes, but as discussed above, it’s a little less clear how to automatically do the right thing in that case. For example, if the new data shifts in the Y axis such that none of it would be within the zoomed view, showing a blank chart could be confusing, but panning the chart to show the data could also be confusing.
We can consider at least showing a UI indication of new data to display in that case; it would also be helpful to know in more detail about exactly the behavior you would prefer to see there, and what is leading you to zoom in on the chart in the first place, since there might be other ways to approach this.