ufldl_tutorial icon indicating copy to clipboard operation
ufldl_tutorial copied to clipboard

During the exercise, I got this issue...

Open eastonYi opened this issue 8 years ago • 2 comments

File "........\load_MNIST.py", line 18, in load_MNIST_images images = images.reshape((num_images, num_rows * num_cols)).transpose() ValueError: total size of new array must be unchanged

eastonYi avatar Mar 06 '16 02:03 eastonYi

Hi, Std-Easton @Std-Easton, Have you solve the problem? I have meet the same problem with you.

styleNie avatar Mar 26 '16 03:03 styleNie

load_MNIST_images() change
-with open(filename, "r") as f:- to -with open(filename, "rb") as f:-

xiehongyu2005 avatar Jul 15 '16 09:07 xiehongyu2005