I want to check my data and see images containing in images.npy. How to solve that type of error?
TypeError: Invalid shape (20000, 48, 48, 3) for image data
Code:
import numpy as np
from matplotlib import pyplot as plt
images = np.load('images.npy')
plt.imshow(images)
plt.show()