KEMBAR78
Make streaming_op for PR curves use tf.group. by chihuahua · Pull Request #1053 · tensorflow/tensorboard · GitHub
Skip to content

Conversation

@chihuahua
Copy link
Member

Previously, the streaming op for computing PR curves had relied on the
tensor_summary method to both produce a single update op to return as
well as add the update ops to various collections. That turned out
problematic since it wrote a duplicate summary, yielding an extra PR
curve plot in TensorBoard.

We now use a tf.group op and manually add individual update ops to
each collection.

Fixes #965.

Previously, the streaming op for computing PR curves had relied on the
`tensor_summary` method to both produce a single update op to return as
well as add the update ops to various collections. That turned out
problematic since it created a duplicate summary, yielding an extra PR
curve plot in TensorBoard.

We now use a `tf.group` op and manually add individual update ops to
each collection.
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.

LGTM but any chance we could add a test case that catches this issue?

@chihuahua
Copy link
Member Author

+1, how about now?

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.

LGTM, thanks!

@chihuahua chihuahua merged commit e68fce8 into tensorflow:master Mar 16, 2018
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