Skip to content

Commit d1b668a

Browse files
add note
1 parent 8c7a31a commit d1b668a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cnn_class/blur.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
print(out3.shape)
5757
for i in range(3):
5858
out3[:,:,i] = convolve2d(img[:,:,i], W, mode='same')
59+
# out3 /= out3.max() # can also do this if you didn't normalize the kernel
5960
plt.imshow(out3)
6061
plt.show() # does not look like anything
6162

0 commit comments

Comments
 (0)