Last active
August 23, 2018 12:34
-
-
Save EniasCailliau/ce9ca217fd3377d266569cff1bdd7597 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert_mnist_fashion_dataset(train_images, train_labels, 'train', 'data') | |
convert_mnist_fashion_dataset(test_images, test_labels, 'validation', 'data') | |
import sagemaker | |
bucket = sagemaker.Session().default_bucket() # Automatically create a bucket | |
prefix = 'radix/mnist_fashion_tutorial' # Subfolder prefix | |
s3_url = sagemaker.Session().upload_data(path='data', | |
bucket=bucket, | |
key_prefix=prefix+'/data/mnist') | |
print(s3_url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment