aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/learn/resnet.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/examples/learn/resnet.py')
-rwxr-xr-xtensorflow/examples/learn/resnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/learn/resnet.py b/tensorflow/examples/learn/resnet.py
index f822903208..7737f10495 100755
--- a/tensorflow/examples/learn/resnet.py
+++ b/tensorflow/examples/learn/resnet.py
@@ -181,7 +181,7 @@ result = classifier.evaluate(
y=mnist.test.labels,
metrics={
'accuracy':
- tf.contrib.learn.metric_spec.MetricSpec(
+ tf.contrib.learn.MetricSpec(
metric_fn=tf.contrib.metrics.streaming_accuracy,
prediction_key='accuracy'),
})