Commit 8c798f47 authored by Neal Wu's avatar Neal Wu
Browse files

Rename metric to not use illegal symbol @

parent bf321a6f
...@@ -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),
}) })
......
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