You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error hosting endpoint xxxxxx: Failed. Reason: Please make sure all images included in the model for the production variant AllTraffic exist, and that the execution role used to create the model has permissions to access them..
Thank you for using Amazon SageMaker. I see that you have specified image emnlp:opt. The error message indicates there may be an issue with it:
Please make sure all images included in the model for the production variant AllTraffic exist, and that the execution role used to create the model has permissions to access them.
Can you confirm 1) the existence of the image uri you have specified, and 2) that the execution role you are using has access to it?
Hi @metrizable , thank you for the quick reply. I confirm the image uri exists. (I checked by calling docker image ls, and this image is there.) For your second question, I am not exactly sure whether I set access correctly. Could you give me some hints on how to grant access? Thanks!
Just to confirm, are you specifying the full URI (unique resource identifier) of the image (should be something like <aws_account_id>.dkr.ecr.<your-region>.amazonaws.com/<image-name>:<tag>)? From here, it doesn't look like it. This example notebook uses a custom image specifying the full image URI.
Activity
metrizable commentedon Aug 16, 2020
Hello @goldmermaid
Thank you for using Amazon SageMaker. I see that you have specified image
emnlp:opt. The error message indicates there may be an issue with it:Can you confirm 1) the existence of the image uri you have specified, and 2) that the execution role you are using has access to it?
Best regards
goldmermaid commentedon Aug 16, 2020
Hi @metrizable , thank you for the quick reply. I confirm the image uri exists. (I checked by calling
docker image ls, and this image is there.) For your second question, I am not exactly sure whether I set access correctly. Could you give me some hints on how to grant access? Thanks!metrizable commentedon Aug 18, 2020
@goldmermaid
Just to confirm, are you specifying the full URI (unique resource identifier) of the image (should be something like
<aws_account_id>.dkr.ecr.<your-region>.amazonaws.com/<image-name>:<tag>)? From here, it doesn't look like it. This example notebook uses a custom image specifying the full image URI.lu-liu-rft commentedon Nov 24, 2020
Hi I got the same error when using
I did add the following policies to my SageMaker execution role:
When I still have this error and couldn't deploy the model?