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
b1afde2f
Commit
b1afde2f
authored
Apr 18, 2017
by
Stephen Tridgell
Committed by
Neal Wu
Apr 19, 2017
Browse files
Change iteritems -> items for py3 compatability
parent
0958c80d
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 @
b1afde2f
...
@@ -158,7 +158,7 @@ def main(_):
...
@@ -158,7 +158,7 @@ def main(_):
})
})
# Print the summaries to screen.
# Print the summaries to screen.
for
name
,
value
in
names_to_values
.
iter
items
():
for
name
,
value
in
names_to_values
.
items
():
summary_name
=
'eval/%s'
%
name
summary_name
=
'eval/%s'
%
name
op
=
tf
.
summary
.
scalar
(
summary_name
,
value
,
collections
=
[])
op
=
tf
.
summary
.
scalar
(
summary_name
,
value
,
collections
=
[])
op
=
tf
.
Print
(
op
,
[
value
],
summary_name
)
op
=
tf
.
Print
(
op
,
[
value
],
summary_name
)
...
...
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