First of all, I already know how to manually add float or image summaries. I can construct a tf.Summary
protobuf manually. But what about text summaries? I look at the definition for summary protobuf here, but I don't find a "string" value option there.
相关问题
- batch_dot with variable batch size in Keras
- How to use Reshape keras layer with two None dimen
- CV2 Image Error: error: (-215:Assertion failed) !s
- Why keras use “call” instead of __call__?
- How to conditionally scale values in Keras Lambda
相关文章
- tensorflow 神经网络 训练集准确度远高于验证集和测试集准确度?
- Tensorflow: device CUDA:0 not supported by XLA ser
- Numpy array to TFrecord
- conditional graph in tensorflow and for loop that
- How to downgrade to cuda 10.0 in arch linux?
- Apply TensorFlow Transform to transform/scale feat
- How to force tensorflow tensors to be symmetric?
- keras model subclassing examples
John Hoffman's answer is great, though the
tb.summary.pb
API seems not available as of TF 1.x. You can instead use the following APIs:Just FYI,
tb.summary
has many similar methods for other types of summary as well:TensorBoard's text plugin offers a
pb
method that lets you create text summaries outside of a TensorFlow environment. https://github.com/tensorflow/tensorboard/blob/master/tensorboard/plugins/text/summary.py#L74Example usage: