Closed Abhishek-08 closed 2 years ago
The issue is earlier in the document, when it builds the docker image, then pushes it to the ECR Registry. The default IAM Role, which is called something like AmazonSageMaker-ExecutionRole-xxxxxxx (with some numbers at the end) does not have permission to 'Write' to ECR, specifically the 'InitiateLayerUpload' permission.
If you check on CloudWatch you will see the attempts, and selecting one of the events will show a message with:
"errorMessage": "User: arn:aws:sts::
I created a new policy all the 'Write' permissions, and attached it to the AmazonSageMaker-ExecutionRole. Then rerun the whole notebook, and the docker push to ECR should complete.
Hi @Abhishek-08, i have updated the repo with new TF version. Can you have a try and confirm it works now?
I am trying to run the sample file to prepare the bees dataset and have run every cell until the tfrecord conversion step without any issues. I am getting the following error when I try to run the cell