Skip to content

Instantly share code, notes, and snippets.

@siakon89
Created June 18, 2018 16:09
Show Gist options
  • Save siakon89/b3aa1b8f14054027e9e0118df2a3f978 to your computer and use it in GitHub Desktop.
Save siakon89/b3aa1b8f14054027e9e0118df2a3f978 to your computer and use it in GitHub Desktop.
local_directory = 'data'
prefix = repo_name+'/input'
# Upload dataset to S3 and set the train and validation path
train_input_path = sess.upload_data(local_directory+'/train/', key_prefix=prefix+'/train')
validation_input_path = sess.upload_data(local_directory+'/validation/', key_prefix=prefix+'/validation')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment