Skip to content

Instantly share code, notes, and snippets.

@RoaldSchuring
Last active July 8, 2019 02:08
Show Gist options
  • Save RoaldSchuring/be73b47cbe0c516f1992e331999f76d4 to your computer and use it in GitHub Desktop.
Save RoaldSchuring/be73b47cbe0c516f1992e331999f76d4 to your computer and use it in GitHub Desktop.
setup_blazingtext_container2
train_data = 's3://{}/wine-corpus.txt'.format(bucket)
s3_output_location = 's3://{}/output'.format(bucket)
region_name = boto3.Session().region_name
container = sagemaker.amazon.amazon_estimator.get_image_uri(region_name, "blazingtext", "latest")
print('Using SageMaker BlazingText container: {} ({})'.format(container, region_name))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment