Skip to content

Conversation

@lgeiger
Copy link
Contributor

@lgeiger lgeiger commented Jul 18, 2018

When using multiple runs with the same custom scalar layout, tensorboard will duplicate the charts for every run.

This PR fixes the problem by deduplicating the charts before adding them to the category.

Copy link
Contributor

@nfelt nfelt left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe extend the comment on line 81 to say "and contains a duplicate chart also in that run" or something?

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you extend the comment here to say "Merge their charts, skipping any duplicates."?

@lgeiger lgeiger force-pushed the fix-custom-scalar-duplicates branch from 06b262f to efd6edd Compare July 18, 2018 01:35
@lgeiger
Copy link
Contributor Author

lgeiger commented Jul 18, 2018

@nfelt Thanks for the fast review.

I added the suggested comment to make the change clearer 👍

@nfelt nfelt merged commit dd27235 into tensorflow:master Jul 18, 2018
@lgeiger lgeiger deleted the fix-custom-scalar-duplicates branch July 18, 2018 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants