fork download
  1. header (2051, 60000, 28, 28)
  2. imagesize 784
  3. Traceback (most recent call last):
  4. File "/u1/class/cs60114/feb09/part3.py", line 84, in <module>
  5. train()
  6. File "/u1/class/cs60114/feb09/part3.py", line 44, in train
  7. a2 = struct.unpack('784B', a1)
  8. struct.error: unpack requires a buffer of 784 bytes
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.9/py_compile.py", line 144, in compile
    code = loader.source_to_code(source_bytes, dfile or file,
  File "<frozen importlib._bootstrap_external>", line 918, in source_to_code
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "./prog.py", line 2
    imagesize 784
              ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.9/py_compile.py", line 150, in compile
    raise py_exc
py_compile.PyCompileError:   File "./prog.py", line 2
    imagesize 784
              ^
SyntaxError: invalid syntax

stdout
Standard output is empty