awslabs / ec2-spot-labs

Collection of tools and code examples to demonstrate best practices in using Amazon EC2 Spot Instances.
https://aws.amazon.com/ec2/spot/
Other
942 stars 319 forks source link

Refactor Spot sagemaker training examples to sdk v2 #56

Closed black-mirror-1 closed 3 years ago

black-mirror-1 commented 3 years ago

Issue #, if available:

Description of changes:

Using sagemaker default bucket instead of creating a new one get_image_uri is migrated to image_uris.retrieve() in sagemaker SDK 2 Changed sagemaker endpoint property name to endpoint_name in sagemaker SDK 2 changed the object detection example to a new one based on Caltech Birds (CUB 200 2011) dataset

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.