aws / sagemaker-mxnet-training-toolkit

Toolkit for running MXNet training scripts on SageMaker. Dockerfiles used for building SageMaker MXNet Containers are at https://github.com/aws/deep-learning-containers.
Apache License 2.0
60 stars 55 forks source link

boto can't find credentials #135

Closed nfultz closed 4 years ago

nfultz commented 4 years ago

I'm trying to use boto3 from a sagemaker-mxnet container, but I get this error when I submit the training job:

botocore.exceptions.NoCredentialsError: Unable to locate credentials

The script runs fine on a sagemaker notebook instance using the same IAM role.

EDIT:

This appears to happen bc Network Isolation is turned on by default, never mind.