到目前为止,我已经发现摘要的protobuf标题在此定义:
https://github.com/tensorflow/tensorflow/blob/r1.2/tensorflow/core/framework/summary.proto
答案 0 :(得分:0)
使用tf.Summary()
类:
summary_string = sess.run(summary)
summary_proto = tf.Summary().FromString(summary_string)
for entry in summary_proto.value:
print(entry.tag)