Created
October 11, 2018 14:08
-
-
Save gauravkaila/8c1944a7b93943b271de7dc838efad6d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# get the default datastore and upload data from local folder to VM | |
ds = ws.get_default_datastore() | |
print(ds.name, ds.datastore_type, ds.account_name, ds.container_name) | |
# Upload data to default data storage | |
data_folder = config['train']['data_folder'] | |
ds.upload(config['train']['local_directory'],target_path=data_folder,overwrite=True) | |
print ('Finished Uploading Data.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment