KEMBAR78
[Beholder plugin] use different summary key to avoid merging with the other summaries by TanUkkii007 · Pull Request #1148 · tensorflow/tensorboard · GitHub
Skip to content

Conversation

@TanUkkii007
Copy link
Contributor

This PR suggests to use a different summary key instead of using a default one for Beholder plugin.

Using Beholder plugin with tf.estimator.Estimator results in the following InvalidArgumentError.

tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'Placeholder' with dtype uint8 and shape [?,?,?]
	 [[Node: Placeholder = Placeholder[dtype=DT_UINT8, shape=[?,?,?], _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]

This is because tf.estimator.Estimator registers a loss scalar summary with a default collection key and merge it with the other summaries with the default key including Beholder's summary. As a result, we are required to feed frame_placeholder when running a training op.

Since beholder writes summaries with a different cycle from a training op, it is better to separate them.

…results in InvalidArgumentError when running training ops with tf.estimator.Estimator since the merged summary require to feed frame_placeholder
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

@TanUkkii007
Copy link
Contributor Author

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

@nfelt
Copy link
Contributor

nfelt commented Apr 26, 2018

Thank you for the contribution!

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.

3 participants