-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Tensorflowmodel points to images that do not exist #912
Comments
Hi @NoahDolev, thank you for using SageMaker! From the code you provided, it seems you want to train your model with In order to use TensorFlow script mode to train your model (and then deploy), you want to start with the Tensorflow You either set |
Hi @ChuyangDeng , I am not sure that has anything to do with the issue I posted. I am reporting to you that the docker image which SageMaker searches for by default is not correct for eu-west-1. Also, script_mode is not a valid flag of TensorFlowModel. This flag exists only in TensorFlow to the best of my knowledge. Best, |
Hi @NoahDolev, Are you trying to do training or hosting here? Our TensorFlow script mode is only supported for training. And a If you are training your model, you should use If you are deploying your trained model, you will use |
@NoahDolev @ChuyangDeng I met the same error when I follow this link: `sagemaker_model = TensorFlowModel(model_data = 's3://' + sagemaker_session.default_bucket() + '/model/model.tar.gz', predictor = sagemaker_model.deploy(initial_instance_count=1, ValueError: Error hosting endpoint sagemaker-tensorflow-2019-07-10-05-06-02-075: Failed Reason: The image '520713654638.dkr.ecr.us-east-2.amazonaws.com/sagemaker-tensorflow:1.12-gpu-py3' does not exist. When I delete py_version='py3' there is no error anymore. |
Hi @yuchuang1979 , Precisely what I am referring to. I am trying to deploy a model I trained elsewhere. You can also specify the image to solve the problem. My point, however, is that the default is pointing to the wrong docker image. It's a bug. Best, |
@NoahDolev thanks for pointing out that there is another route by specifying the image. I am totally new to SageMaker and just began the work several days ago. How could you create the image before specifying it in the function? |
@ChoiByungWook This is quite clear. Thanks! |
@ChoiByungWook Thanks for your introduction! I am wondering when will tf 1.14 be supported for serving? I tried cpu, gpu and elastic ones, but it seems the corresponding images are all not available:
I used your second one:
And also for the |
We have to use the proxy server with circle to run this. |
Did the format for specifying images change after TensorFlow 2 support was added? Or are there just no pre-built images for TensorFlow frameworks 2.0 and 2.1? I get
When trying to specify
in the sample notebook available at https://aws.amazon.com/blogs/machine-learning/deploy-trained-keras-or-tensorflow-models-using-amazon-sagemaker/. |
@ChoiByungWook The container implementation code locations given above (for TensorflowModel & Model) are outdated. Can you please point to the current implementations? |
@keelerh @ratulray I believe the class you're looking for is if you have any further questions, please open a new issue (it'll help with our internal tracking) |
Thanks Lauren for your response. Actually my question was not that. I opened a new issue #1472 |
@abdelhamednouh you're commenting on an old, closed issue with an unrelated error message - can you open a new issue? |
Please fill out the form below.
System Information
Describe the problem
If I try to deploy a pre-built model like so:
Will fail upon deploying:
I receive:
I can get past this error by specifying the image (which is not well-documented - took a lot of digging to find a link that worked):
Any idea how to solve this?
The text was updated successfully, but these errors were encountered: