Commit 6e611ff4 authored by Mark Daoust's avatar Mark Daoust
Browse files

Remove last argmax(labels).

parent 6a7de210
...@@ -122,7 +122,7 @@ def model_fn(features, labels, mode, params): ...@@ -122,7 +122,7 @@ def model_fn(features, labels, mode, params):
eval_metric_ops={ eval_metric_ops={
'accuracy': 'accuracy':
tf.metrics.accuracy( tf.metrics.accuracy(
labels=tf.argmax(labels, axis=1), labels=labels,
predictions=tf.argmax(logits, axis=1)), predictions=tf.argmax(logits, axis=1)),
}) })
......
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