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
938380bd
Unverified
Commit
938380bd
authored
Jun 12, 2018
by
Yukun Zhu
Committed by
GitHub
Jun 12, 2018
Browse files
Merge pull request #4518 from xhlulu/patch-1
Fixed variable name typo for deeplab_demo Tutorial
parents
e722ffc9
277a9ad5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
research/deeplab/deeplab_demo.ipynb
research/deeplab/deeplab_demo.ipynb
+2
-2
No files found.
research/deeplab/deeplab_demo.ipynb
View file @
938380bd
...
@@ -294,13 +294,13 @@
...
@@ -294,13 +294,13 @@
" try:\n",
" try:\n",
" f = urllib.request.urlopen(url)\n",
" f = urllib.request.urlopen(url)\n",
" jpeg_str = f.read()\n",
" jpeg_str = f.read()\n",
" orignal_im = Image.open(BytesIO(jpeg_str))\n",
" orig
i
nal_im = Image.open(BytesIO(jpeg_str))\n",
" except IOError:\n",
" except IOError:\n",
" print('Cannot retrieve image. Please check url: ' + url)\n",
" print('Cannot retrieve image. Please check url: ' + url)\n",
" return\n",
" return\n",
"\n",
"\n",
" print('running deeplab on image %s...' % url)\n",
" print('running deeplab on image %s...' % url)\n",
" resized_im, seg_map = MODEL.run(orignal_im)\n",
" resized_im, seg_map = MODEL.run(orig
i
nal_im)\n",
"\n",
"\n",
" vis_segmentation(resized_im, seg_map)\n",
" vis_segmentation(resized_im, seg_map)\n",
"\n",
"\n",
...
...
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