From ae2647715797d6f589356964a259c372323b8362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E7=92=9E?= Date: Mon, 19 Jun 2017 20:24:55 +0800 Subject: [PATCH] Variable name typo In the "Working example: Tracking Multiple Metrics", the variable name "name_to_updates" --> "names_to_updates" --- tensorflow/contrib/slim/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/contrib/slim/README.md b/tensorflow/contrib/slim/README.md index d37c632be7f..4bde661698f 100644 --- a/tensorflow/contrib/slim/README.md +++ b/tensorflow/contrib/slim/README.md @@ -836,7 +836,7 @@ with tf.Session() as sess: for batch_id in range(num_batches): 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): print('Metric %s has value: %f' % (metric, value)) ```