Skip to content

Commit 0560ab5

Browse files
committed
Fix convolution and maxpool
1 parent e964c0b commit 0560ab5

File tree

2 files changed

+17
-35
lines changed

2 files changed

+17
-35
lines changed

keras-cnn/convolution.ipynb

Lines changed: 16 additions & 34 deletions
Large diffs are not rendered by default.

keras-cnn/maxpool.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151
],
5252
"source": [
53-
"image = io.imread('dog.jpg', as_grey=True)\n",
53+
"image = io.imread('dog.jpg', as_gray=True)\n",
5454
"new_image = block_reduce(image, block_size=(5, 5), func=np.max)\n",
5555
"io.imshow(new_image)"
5656
]

0 commit comments

Comments
 (0)