Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make streaming_op for PR curves use tf.group. #1053

Merged
merged 4 commits into from
Mar 16, 2018

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