"docs/vscode:/vscode.git/clone" did not exist on "3a5239e6bf46986c8579eabcdff5cf5891a58b9a"
Unverified Commit 277a9ad5 authored by Xing Han Lu's avatar Xing Han Lu Committed by GitHub
Browse files

Fixed variable name typo for deeplab_demo Tutorial

Minor variable name fix
parent bb62f248
......@@ -294,13 +294,13 @@
" try:\n",
" f = urllib.request.urlopen(url)\n",
" jpeg_str = f.read()\n",
" orignal_im = Image.open(BytesIO(jpeg_str))\n",
" original_im = Image.open(BytesIO(jpeg_str))\n",
" except IOError:\n",
" print('Cannot retrieve image. Please check url: ' + url)\n",
" return\n",
"\n",
" print('running deeplab on image %s...' % url)\n",
" resized_im, seg_map = MODEL.run(orignal_im)\n",
" resized_im, seg_map = MODEL.run(original_im)\n",
"\n",
" vis_segmentation(resized_im, seg_map)\n",
"\n",
......
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