cannot reshape array of size 14400 into shape
when i used a other video from youtobe for lesson3, the commend went wrong(plt.imshow(np.reshape(M[:,140], dims), cmap=‘gray’) ,and the ValueError : cannot reshape array of size 14400 into shape (120,90), but i don’t know how to fix it.
You can’t because you can only re-shape to a shape which product equals the product of the original shape. Concretely, 14400×1 != 120x90
thank you