Files
MachineLearningNotebooks/tutorials/get-started-day1/IDE-users/05-upload-data.py
2020-09-29 21:09:55 +01:00

8 lines
240 B
Python

# 05-upload-data.py
from azureml.core import Workspace
ws = Workspace.from_config()
datastore = ws.get_default_datastore()
datastore.upload(src_dir='./data',
target_path='datasets/cifar10',
overwrite=True)