Skip to content

Commit 7124cd7

Browse files
committed
fix: fix paths to datasets
1 parent cdf88b2 commit 7124cd7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: demo-notebooks/guided-demos/download_mnist_datasets.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def download_mnist_dataset(destination_dir):
4141

4242

4343
# Specify the directory where you
44-
script_dir = os.path.dirname(os.path.abspath(__file__))
45-
destination_dir = script_dir + "/mnist_datasets"
44+
destination_dir = os.path.dirname(os.path.abspath(__file__))
4645

4746
download_mnist_dataset(destination_dir)

Diff for: demo-notebooks/guided-demos/mnist_disconnected.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
BATCH_SIZE = 256 if torch.cuda.is_available() else 64
3131
# %%
3232

33-
local_minst_path = os.path.dirname(os.path.abspath(__file__) + "/mnist_datasets")
33+
local_minst_path = os.path.dirname(os.path.abspath(__file__) + "/MNIST/raw")
3434

3535
print("prior to running the trainer")
3636
print("MASTER_ADDR: is ", os.getenv("MASTER_ADDR"))

0 commit comments

Comments
 (0)