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
8c798f47
"python/vscode:/vscode.git/clone" did not exist on "3e684be7a3c0cf7e9db987d92d74ecc0d09f71be"
Commit
8c798f47
authored
Mar 01, 2017
by
Neal Wu
Browse files
Rename metric to not use illegal symbol @
parent
bf321a6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slim/eval_image_classifier.py
slim/eval_image_classifier.py
+1
-1
No files found.
slim/eval_image_classifier.py
View file @
8c798f47
...
@@ -153,7 +153,7 @@ def main(_):
...
@@ -153,7 +153,7 @@ def main(_):
# Define the metrics:
# Define the metrics:
names_to_values
,
names_to_updates
=
slim
.
metrics
.
aggregate_metric_map
({
names_to_values
,
names_to_updates
=
slim
.
metrics
.
aggregate_metric_map
({
'Accuracy'
:
slim
.
metrics
.
streaming_accuracy
(
predictions
,
labels
),
'Accuracy'
:
slim
.
metrics
.
streaming_accuracy
(
predictions
,
labels
),
'Recall
@
5'
:
slim
.
metrics
.
streaming_recall_at_k
(
'Recall
_
5'
:
slim
.
metrics
.
streaming_recall_at_k
(
logits
,
labels
,
5
),
logits
,
labels
,
5
),
})
})
...
...
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