Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scikit_bring_your_own.ipynb deploy model error #197

Closed
AirWrek opened this issue Feb 20, 2018 · 1 comment
Closed

scikit_bring_your_own.ipynb deploy model error #197

AirWrek opened this issue Feb 20, 2018 · 1 comment

Comments

@AirWrek
Copy link

AirWrek commented Feb 20, 2018

When going through the notebook above with a sagemaker notebook instance everything worked up to the deploy line:
predictor = tree.deploy(1, 'ml.m4.xlarge', serializer=csv_serializer)
There I get "ClientError: An error occurred (ValidationException) when calling the CreateModel operation: ECR image ".dkr.ecr.us-east-1.amazonaws.com/decision-trees-sample" is invalid."

I tried via the sagemaker console using my root account and also get the same ValidationException error.

Testing the image (pulled from ECR) locally with serve_local.sh/predict_local.sh didn't show errors

@djarpin
Copy link
Contributor

djarpin commented Feb 20, 2018

Thanks, @AirWrek . This looks like the same error that was raised here and was fixed in this PR. Sorry, I probably should have left the issue open a little longer for visibility.

The changes to the example notebooks in GitHub won't immediately cascade back to your SageMaker Notebook Instance, so you'll need to grab the updated version from here (or just add the ":latest" tag to the image argument in your estimator or deploy method).

Thanks!

@djarpin djarpin closed this as completed Mar 6, 2018
atqy pushed a commit to atqy/amazon-sagemaker-examples that referenced this issue Aug 16, 2022
…s#197)

* Updated TF and mxnet notebooks

* Fixes based on upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants