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
080795fe
Unverified
Commit
080795fe
authored
Mar 11, 2018
by
Mark Daoust
Committed by
GitHub
Mar 11, 2018
Browse files
Remove unnecessary blank line
parent
876c4979
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
samples/core/get_started/premade_estimator.py
samples/core/get_started/premade_estimator.py
+0
-1
No files found.
samples/core/get_started/premade_estimator.py
View file @
080795fe
...
@@ -76,7 +76,6 @@ def main(argv):
...
@@ -76,7 +76,6 @@ def main(argv):
template
=
(
'
\n
Prediction is "{}" ({:.1f}%), expected "{}"'
)
template
=
(
'
\n
Prediction is "{}" ({:.1f}%), expected "{}"'
)
for
pred_dict
,
expec
in
zip
(
predictions
,
expected
):
for
pred_dict
,
expec
in
zip
(
predictions
,
expected
):
class_id
=
pred_dict
[
'class_ids'
][
0
]
class_id
=
pred_dict
[
'class_ids'
][
0
]
probability
=
pred_dict
[
'probabilities'
][
class_id
]
probability
=
pred_dict
[
'probabilities'
][
class_id
]
...
...
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