-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit f45fdd6
Added section on logging batch-level metrics to get_started.ipynb (#5928)
* Motivation for features / changes
This PR adds a new section to "Get Started with Tensorboard" focused on
adding custom metrics for batch-level logging during training. This is
related to an issue (b/206800675) with the functionality of the
update_freq parameter that causes the example code in TF docs
(https://www.tensorflow.org/api_docs/python/tf/keras/callbacks/TensorBoard)
to not work as intended. Adding this section to the notebook would
provide a good workaround to allow custom batch-level summaries for both
subclassed and Functional API Models.
* Technical description of changes
* Screenshots of UI changes


* Detailed steps to verify changes work correctly (as executed by you)
Results in Tensorboard are as intended. A full run-through was executed
for the notebook to ensure existing and new functionality.
* Alternate designs / implementations considered
Alternates included moving the new section up to after Keras model.fit()
section, but I believe new section should be last, as it should be after
the introduction of using tf.summary in the "Other methods" section.
Co-authored-by: Riley Jones <[email protected]>1 parent fb2f7b3 commit f45fdd6Copy full SHA for f45fdd6
File tree
Expand file treeCollapse file tree
1 file changed
+424
-15
lines changedFilter options
- docs
Expand file treeCollapse file tree
1 file changed
+424
-15
lines changed
0 commit comments