Skip to content

Instantly share code, notes, and snippets.

@ctodd
Created July 9, 2020 05:17
Show Gist options
  • Save ctodd/ce354d21f42166142bb856f7d22ae8d3 to your computer and use it in GitHub Desktop.
Save ctodd/ce354d21f42166142bb856f7d22ae8d3 to your computer and use it in GitHub Desktop.
pfx_training = PREFIX + '/training' if PREFIX else 'training'
# Defines paths for use in the training job request.
s3_train_data_path = 's3://{}/{}/{}'.format(BUCKET, pfx_training, augmented_manifest_filename_train)
s3_validation_data_path = 's3://{}/{}/{}'.format(BUCKET, pfx_training, augmented_manifest_filename_validation)
!aws s3 cp $augmented_manifest_filename_train s3://$BUCKET/$pfx_training/
!aws s3 cp $augmented_manifest_filename_validation s3://$BUCKET/$pfx_training/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment