Skip to content

summary name of the new summary module #6150

Closed

Description

@ppwwyyxx

With the new tf.summary module, the name shown in tensorboard has to be equal to the summary op in the graph.
As a result, the name shown in tensorboard cannot be the same as any existing op in the graph.
This can create a bit of problem. Before this change, I could have some op named loss and the summary of its output also named loss, which is very consistent and easy to play with -- I can just look for the name of the tensor in tensorboard.
Now it looks like I have to add a prefix/suffix to everything because they cannot use the same name. Otherwise I got loss_1 in tensorboard which is confusing especially to new users.

Is there some changes that could be done to the new summary module that keeps the nice old feature?

Activity

  1. ppwwyyxx commented on Dec 13, 2016

    @ppwwyyxx
    ContributorAuthor

    I would really like to have a way to customize the tag name shown in tensorboard.
    I could send a PR by simply adding an optional keyword argument to all the tf.summary.something functions. Does that sound like an acceptable solution or are there any design concerns?

  2. yaroslavvb commented on Jan 3, 2017

    @yaroslavvb
    Contributor

    This request came up on SO as well, @danmane for comment

  3. teamdandelion commented on Jan 8, 2017

    @teamdandelion

    We intend to add a "display_name" option to the summaries that controls how it displays in the frontend.

    A pull request would probably look like: add some metadata to the summary op that appears in the NodeDef in the graph, have the EventAccumulator read that metadata when it parses the graph definition, and then pass the metadata along with the summary info to the TensorBoard frontend. It's not trivial. @ppwwyyxx if you want to take this on we can discuss it in more depth.

  4. ppwwyyxx commented on Jan 9, 2017

    @ppwwyyxx
    ContributorAuthor

    Great! If you have that on the TODO list maybe I should leave it to you.
    One question: isn't this just the old "tag" field that was in Summary::Value that's used by the old summary module? Why not use that field?

  5. fvisin commented on May 28, 2017

    @fvisin

    Is there any advancement on this? It is really annoying to get duplicated summaries in Tensorboard in the multi-GPU setting.

  6. teamdandelion commented on Jun 16, 2017

    @teamdandelion

    Migrating this issue to tensorflow/tensorboard

  7. added a commit that references this issue on Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type:feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions