Variable name typo
In the "Working example: Tracking Multiple Metrics", the variable name "name_to_updates" --> "names_to_updates"
This commit is contained in:
parent
1f82b7a5bf
commit
ae26477157
@ -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))
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user