removing sorry spam
This commit is contained in:
@@ -385,7 +385,6 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"%matplotlib inline\n",
|
"%matplotlib inline\n",
|
||||||
"from keras.preprocessing import image\n",
|
"from keras.preprocessing import image\n",
|
||||||
"# if the img.png is not one of the MNIST dataset that the model was trained on, the error will be very high.\n",
|
|
||||||
"img = image.load_img(\"./hello.png\", target_size=(28, 28), color_mode = \"grayscale\")\n",
|
"img = image.load_img(\"./hello.png\", target_size=(28, 28), color_mode = \"grayscale\")\n",
|
||||||
"input_img = image.img_to_array(img)\n",
|
"input_img = image.img_to_array(img)\n",
|
||||||
"inputs = input_img.reshape(1,784)\n",
|
"inputs = input_img.reshape(1,784)\n",
|
||||||
@@ -410,7 +409,6 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"%matplotlib inline\n",
|
"%matplotlib inline\n",
|
||||||
"from keras.preprocessing import image\n",
|
"from keras.preprocessing import image\n",
|
||||||
"# if the img.png is not one of the MNIST dataset that the model was trained on, the error will be very high.\n",
|
|
||||||
"img = image.load_img(\"./1_nlfLUgHUEj5vW7WVJpxY-g.png\", target_size=(28, 28), color_mode = \"grayscale\")\n",
|
"img = image.load_img(\"./1_nlfLUgHUEj5vW7WVJpxY-g.png\", target_size=(28, 28), color_mode = \"grayscale\")\n",
|
||||||
"input_img = image.img_to_array(img)\n",
|
"input_img = image.img_to_array(img)\n",
|
||||||
"inputs = input_img.reshape(1,784)\n",
|
"inputs = input_img.reshape(1,784)\n",
|
||||||
|
Reference in New Issue
Block a user