aws-samples / amazon-a2i-sample-jupyter-notebooks

Sample Jupyter Notebooks for Amazon Augmented AI (A2I)
https://aws.amazon.com/augmented-ai/
Apache License 2.0
67 stars 64 forks source link

Work with SageMaker SDK v2, + other changes #48

Open samsanders23 opened 1 year ago

samsanders23 commented 1 year ago

Upgraded to work with version 2.x of the SageMaker Python SDK. Also fixed other errors that have appeared over time since the last code update.

Description of changes: Updated code to remove errors and warnings that were generated from using a version <2.x of the SageMaker Python SDK Also created array 'completed_human_loops=[]' to remove errors generated from 'undefined array' errors occurring in the section 'Check Status of Human Loop'

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