Fix cropped images display since they are floats since TF 2.8

main
Aurélien Geron 2022-09-23 12:05:53 +12:00
parent 8c255153cf
commit 156a56cfcd
1 changed files with 1 additions and 1 deletions

View File

@ -3026,7 +3026,7 @@
}
],
"source": [
"plt.imshow(cropped_images[0])\n",
"plt.imshow(cropped_images[0] / 255)\n",
"plt.axis(\"off\")\n",
"plt.show()"
]