Commit 692b7526 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #1454 from shallinlin/master

correct the percentage logs in slim_walkthrough.ipynb
parents b3128357 e2744ade
...@@ -849,7 +849,7 @@ ...@@ -849,7 +849,7 @@
" names = imagenet.create_readable_names_for_imagenet_labels()\n", " names = imagenet.create_readable_names_for_imagenet_labels()\n",
" for i in range(5):\n", " for i in range(5):\n",
" index = sorted_inds[i]\n", " index = sorted_inds[i]\n",
" print('Probability %0.2f%% => [%s]' % (probabilities[index], names[index]))" " print('Probability %0.2f%% => [%s]' % (probabilities[index] * 100, names[index]))"
] ]
}, },
{ {
...@@ -944,7 +944,7 @@ ...@@ -944,7 +944,7 @@
" for i in range(5):\n", " for i in range(5):\n",
" index = sorted_inds[i]\n", " index = sorted_inds[i]\n",
" # Shift the index of a class name by one. \n", " # Shift the index of a class name by one. \n",
" print('Probability %0.2f%% => [%s]' % (probabilities[index], names[index+1]))" " print('Probability %0.2f%% => [%s]' % (probabilities[index] * 100, names[index+1]))"
] ]
}, },
{ {
......
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