Commit b1afde2f authored by Stephen Tridgell's avatar Stephen Tridgell Committed by Neal Wu
Browse files

Change iteritems -> items for py3 compatability

parent 0958c80d
...@@ -158,7 +158,7 @@ def main(_): ...@@ -158,7 +158,7 @@ def main(_):
}) })
# Print the summaries to screen. # Print the summaries to screen.
for name, value in names_to_values.iteritems(): for name, value in names_to_values.items():
summary_name = 'eval/%s' % name summary_name = 'eval/%s' % name
op = tf.summary.scalar(summary_name, value, collections=[]) op = tf.summary.scalar(summary_name, value, collections=[])
op = tf.Print(op, [value], summary_name) op = tf.Print(op, [value], summary_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment