Merge pull request #10825 from callofdutyops/patch-1

Variable name typo
This commit is contained in:
Yifei Feng 2017-06-19 09:57:11 -07:00 committed by GitHub
commit 7bbfbc3533

View File

@ -836,7 +836,7 @@ with tf.Session() as sess:
for batch_id in range(num_batches): for batch_id in range(num_batches):
sess.run(names_to_updates.values()) sess.run(names_to_updates.values())
metric_values = sess.run(name_to_values.values()) metric_values = sess.run(names_to_values.values())
for metric, value in zip(names_to_values.keys(), metric_values): for metric, value in zip(names_to_values.keys(), metric_values):
print('Metric %s has value: %f' % (metric, value)) print('Metric %s has value: %f' % (metric, value))
``` ```