Skip to content

Commit

Permalink
changed image resolution to 256 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
YertleTurtleGit authored Dec 15, 2023
1 parent 002ef60 commit 21a577d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"image = np.asarray(bytearray(requests.get(image_url).content), dtype=np.uint8)\n",
"image = cv.imdecode(image, cv.IMREAD_COLOR)\n",
"image = cv.cvtColor(image, cv.COLOR_BGR2RGB)\n",
"image = cv.resize(image, (128, 128))\n",
"image = cv.resize(image, (256, 256))\n",
"image = image.astype(np.float64) / 255\n",
"\n",
"_ = plt.imshow(image)"
Expand Down

0 comments on commit 21a577d

Please sign in to comment.