Currently tensorflow\'s tensorboard is not compatible with python3. Therefore and generally, I am looking for a way to print out the summary readouts once in 100 epochs.
You can get a textual representation of summary_str
by parsing it into a tf.Summary protocol buffer as follows:
summary_proto = tf.Summary()
summary_proto.ParseFromString(summary_str)
print(summary_proto)
You can then convert it into a dictionary mapping string tags to floats:
summaries = {}
for val in summary_proto.value:
# Assuming all summaries are scalars.
summaries[val.tag] = val.simple_value