Skip to content

Conversation

@manivaradarajan
Copy link
Member

@manivaradarajan manivaradarajan commented Feb 22, 2019

This is a very quick introduction to viewing default scalar summaries when developing a Keras model in TensorFlow. It's intended to be very simple to show that virtually no extra code is required to get started using TensorBoard to see how loss is changing during training.

To some extent this repeats some of the material in the "Quick Start", but since it's very focussed I don't think the repetition is a bad thing.

@GalOshri
Copy link
Contributor

Thank you for adding this!

A few general thoughts/questions:

  • Would it be better to have one tutorial for the scalar plugin as opposed to multiple (e.g. include gradient tape here as well)? Or maybe it's worth breaking things down a bit, just need to make sure the titles match (gradient tape can also be used with Keras).
  • Is there more information that might be valuable to include in this tutorial?
    • For example, explaining the left pane of scalars? Probably don't need to go into too much detail.
    • Additionally, explaining that you can add custom Keras metrics and they will appear in the callback? We don't need to explain everything but should give a sense of all the different capabilities here. WDYT?

@manivaradarajan
Copy link
Member Author

Thanks for the feedback. I've added an example of custom scalars. I decided that using GradientTape would make it very complicated. Hopefully this complements the original material.

Copy link
Contributor

@GalOshri GalOshri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The learning rate example is great. Adding some comments.

@manivaradarajan
Copy link
Member Author

Addressed all comments, PTAL

@manivaradarajan
Copy link
Member Author

Addressed all comments, PTAL

Copy link
Contributor

@GalOshri GalOshri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@manivaradarajan manivaradarajan merged commit 9d5ba75 into tensorflow:master Feb 23, 2019
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

Successfully merging this pull request may close these issues.

2 participants