summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-09-03 09:08:06 -0500
committerAnthony Wang2021-09-03 09:08:06 -0500
commit20c8739f9979a7e76aa047c58ff7114f39fc4793 (patch)
treecc15df51e3df77de5c9541a17ddaf585b73cdb5a
parent1944c4a9613c15bde2eba95b4ab4fada88c19cce (diff)
Change data download path
-rw-r--r--mnist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mnist.py b/mnist.py
index d6bed0f..4466052 100644
--- a/mnist.py
+++ b/mnist.py
@@ -8,14 +8,14 @@ import matplotlib.pyplot as plt
training_data = datasets.MNIST(
- root="data",
+ root=".data",
train=True,
download=True,
transform=ToTensor(),
)
test_data = datasets.MNIST(
- root="data",
+ root=".data",
train=False,
download=True,
transform=ToTensor(),