Last active
August 25, 2020 23:49
-
-
Save maxbrenner-ai/f86329f6d54c813f8f3f1468597cb56f to your computer and use it in GitHub Desktop.
sagemaker deploy model - estimator
This file contains 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
sess = sagemaker.session.Session() | |
anomaly_detection = sagemaker.estimator.Estimator(image_name=docker_image_name, | |
role=role, | |
train_instance_count=1, | |
train_instance_type='ml.m4.xlarge', | |
output_path='s3://{}/{}/output'.format(bucket, prefix), | |
base_job_name="anomaly-detection", | |
sagemaker_session=sess) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment