"vscode:/vscode.git/clone" did not exist on "ff8ee1aedc260316fea16eef4e6eba981b03e749"
Commit 876c4979 authored by Michał Kopańko's avatar Michał Kopańko
Browse files

unnecessary variable assignment in loop

parent 3f78f4cf
......@@ -73,8 +73,9 @@ def main(argv):
labels=None,
batch_size=args.batch_size))
template = ('\nPrediction is "{}" ({:.1f}%), expected "{}"')
for pred_dict, expec in zip(predictions, expected):
template = ('\nPrediction is "{}" ({:.1f}%), 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