Commit 0b012956 authored by Boris Pfahringer's avatar Boris Pfahringer Committed by Boris Pfahringer
Browse files

Fix writing binary summaries in python3.

In python 3, tf.string tensors are bytes() objects when fetched, not str(). six.binary_type
maps exactly to tf.string in python 2 and 3, so use it to determine if we should try to interpret
a metric as a tf.Summary proto.
parent 92d622d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment