Unverified Commit d9c430b3 authored by Mark Daoust's avatar Mark Daoust Committed by GitHub
Browse files

Merge pull request #3561 from kopankom/fix/assigment-in-loop

unnecessary variable assignment in loop
parents ac6ab360 080795fe
......@@ -73,9 +73,9 @@ def main(argv):
labels=None,
batch_size=args.batch_size))
for pred_dict, expec in zip(predictions, expected):
template = ('\nPrediction is "{}" ({:.1f}%), expected "{}"')
template = ('\nPrediction is "{}" ({:.1f}%), expected "{}"')
for pred_dict, expec in zip(predictions, expected):
class_id = pred_dict['class_ids'][0]
probability = pred_dict['probabilities'][class_id]
......
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