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
5c60bbd0
"vscode:/vscode.git/clone" did not exist on "8b588042a6442f90c11760975a30a3e2393a50cf"
Commit
5c60bbd0
authored
May 08, 2017
by
Shallinlin
Browse files
correct the percentage logs in slim_walkthrough.ipynb
parent
2c44a4b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slim/slim_walkthrough.ipynb
slim/slim_walkthrough.ipynb
+2
-2
No files found.
slim/slim_walkthrough.ipynb
View file @
5c60bbd0
...
@@ -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]))"
]
]
},
},
{
{
...
...
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