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
394f3401
Commit
394f3401
authored
May 18, 2017
by
Neal Wu
Committed by
GitHub
May 18, 2017
Browse files
Merge pull request #1485 from hizagalilo/patch-1
Update slim_walkthrough.ipynb
parents
c8a0608b
88ebe49a
Changes
1
Hide 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 @
394f3401
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
"\n",
"\n",
" # Print name and shape of each tensor.\n",
" # Print name and shape of each tensor.\n",
" print \"Layers\"\n",
" print \"Layers\"\n",
" for k, v in end_points.
iter
items():\n",
" for k, v in end_points.items():\n",
" print 'name = {}, shape = {}'.format(v.name, v.get_shape())\n",
" print 'name = {}, shape = {}'.format(v.name, v.get_shape())\n",
"\n",
"\n",
" # Print name and shape of parameter nodes (values not yet initialized)\n",
" # Print name and shape of parameter nodes (values not yet initialized)\n",
...
@@ -391,7 +391,7 @@
...
@@ -391,7 +391,7 @@
" final_op=names_to_value_nodes.values())\n",
" final_op=names_to_value_nodes.values())\n",
"\n",
"\n",
" names_to_values = dict(zip(names_to_value_nodes.keys(), metric_values))\n",
" names_to_values = dict(zip(names_to_value_nodes.keys(), metric_values))\n",
" for key, value in names_to_values.
iter
items():\n",
" for key, value in names_to_values.items():\n",
" print('%s: %f' % (key, value))"
" print('%s: %f' % (key, value))"
]
]
},
},
...
...
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