Closed phyorch closed 6 years ago
Can you be more specific with the code you used and the error message/stack trace?
@chiphuyen I've sovled the problem, thanks~
Hello, how did you solve the problem? I think our problem is same. struct.unpack() return a too large number for "num" variable
File "D:/GitHub/stanford-tensorflow-tutorials/examples/03_logreg_starter.py", line 28, in
File "D:\GitHub\stanford-tensorflow-tutorials\examples\utils.py", line 113, in read_mnist imgs, labels = parse_data(path, 'train', flatten)
File "D:\GitHub\stanford-tensorflow-tutorials\examples\utils.py", line 94, in parse_data new_labels = np.zeros((num, 10)) MemoryError
when I was using utils model there was a mistake happened at struct.unpack() train, val, test = tools.read_mnist(Data_Dir, flatten=True) MemoryError