Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
6e611ff4
Commit
6e611ff4
authored
Jan 31, 2018
by
Mark Daoust
Browse files
Remove last argmax(labels).
parent
6a7de210
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/mnist/mnist.py
official/mnist/mnist.py
+1
-1
No files found.
official/mnist/mnist.py
View file @
6e611ff4
...
...
@@ -122,7 +122,7 @@ def model_fn(features, labels, mode, params):
eval_metric_ops
=
{
'accuracy'
:
tf
.
metrics
.
accuracy
(
labels
=
tf
.
argmax
(
labels
,
axis
=
1
)
,
labels
=
labels
,
predictions
=
tf
.
argmax
(
logits
,
axis
=
1
)),
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment