Prepare Images For CNN
How are images looked at by computers?
How are coloured images looked at by computers?
Reshaping Numpy Arrays
# images is a list of floats/integers that represent an image
images = np.array(images, dtype = 'float') np.reshape(-1, sqrt(x), sqrt(x), 1) # 1 if the image is greyscaledPlotting Images as Numpy Arrays
Creating Labels with Numpy Arrays
Last updated