diff options
Diffstat (limited to '.mnist.py-0-python3.term')
-rw-r--r-- | .mnist.py-0-python3.term | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.mnist.py-0-python3.term b/.mnist.py-0-python3.term index 434e4b6..9463652 100644 --- a/.mnist.py-0-python3.term +++ b/.mnist.py-0-python3.term @@ -4,4 +4,31 @@ Type "help", "copyright", "credits" or "license" for more information. Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
+>>> Python 3.8.10 (default, Jun 2 2021, 10:49:15)
+[GCC 9.4.0] on linux
+Type "help", "copyright", "credits" or "license" for more information.
+>>>
[K>>> mnist.py
+Traceback (most recent call last):
+ File "<stdin>", line 1, in <module>
+NameError: name 'mnist' is not defined
+>>> execfile('mnist.py')
+Traceback (most recent call last):
+ File "<stdin>", line 1, in <module>
+NameError: name 'execfile' is not defined
+>>> exec(open('mnist.py').read())
+/projects/800fec81-81db-4589-8df3-d839b1d21871/.local/lib/python3.8/site-packages/torchvision/datasets/mnist.py:498: UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors. This means you can write to the underlying (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to protect its data or make it writeable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:180.)
+ return torch.from_numpy(parsed.astype(m[2], copy=False)).view(*s)
+/projects/800fec81-81db-4589-8df3-d839b1d21871/.local/lib/python3.8/site-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at /pytorch/c10/core/TensorImpl.h:1156.)
+ return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
+Iteration: 50, Loss: 0.39537739753723145, Accuracy: 92.41999816894531%
+Iteration: 100, Loss: 0.13765878975391388, Accuracy: 92.33000183105469%
+Iteration: 150, Loss: 0.13507212698459625, Accuracy: 96.91999816894531%
+^CTraceback (most recent call last):
+ File "<stdin>", line 1, in <module>
+ File "<string>", line 86, in <module>
+ File "/projects/800fec81-81db-4589-8df3-d839b1d21871/.local/lib/python3.8/site-packages/torch/_tensor.py", line 255, in backward
+ torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
+ File "/projects/800fec81-81db-4589-8df3-d839b1d21871/.local/lib/python3.8/site-packages/torch/autograd/__init__.py", line 147, in backward
+ Variable._execution_engine.run_backward(
+KeyboardInterrupt
>>>
\ No newline at end of file |