Closed C24IO closed 5 years ago
Hi @C24IO - I wasn't able to replicate an error with this example notebook. Could you provide the actual error message you received?
Thanks.
Hello @djarpin Error uncovered while working through the lab yesterday with a couple of attendees of ML workshop. I will try to recreate by ignoring the "<>" replacement and let you know. Thanks!
closing due to inactivity. feel free to reopen if necessary!
We have an error that the S3 Bucket is not spelled correctly flagged by a regex error -
At this line - train_data_location = 's3://sagemaker-sample-data-{}/tensorflow/iris'.format(region)
It was fixed by -
from sagemaker import get_execution_role import sagemaker
session = sagemaker.Session() bucket = session.default_bucket()
Bucket location to save your custom code in tar.gz format.
custom_code_upload_location = 's3://{}/customcode/tensorflow_iris'.format(bucket)
Bucket location where results of model training are saved.
model_artifacts_location = 's3://{}/artifacts'.format(bucket)
IAM execution role that gives SageMaker access to resources in your AWS account.
role = get_execution_role()