Issue reshaping an array into (28, 28) for an MNIST image
When running this code, I want to show the image in matplotlib but am I getting an error in some_digit_image = some_digit.reshape(28, 28) where I get the ValueError: cannot reshape array of size 1 into shape (28, 28). Is there any way to fix this issue and get the image in the matplotlib. Thanks for… Read More Issue reshaping an array into (28, 28) for an MNIST image