Skip to content

Commit f17c40f

Browse files
authored
Mnist download (#2064)
* helper fn to download mnist from public s3 * small fix
1 parent 34532e4 commit f17c40f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

utils/datasets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import boto3
2+
import os
3+
24

35
PUBLIC_BUCKET = "sagemaker-sample-files"
46

utils/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import datasets
2+
3+
datasets.download_mnist()

0 commit comments

Comments
 (0)