Lambda Function to invoke sagemaker endpoint

0

Hi AWS, I need to create a lambda function that will invoke the SageMaker endpoint that will send a text description for which it will return a generated image.

The endpoint is generated using HuggingFace model.

I need your help with the code and the steps to obtain it.

Thanks Arjun Goel

profile picture
asked 2 years ago1572 views
2 Answers
0

There is a blog that shows how you can invoke a Sagemaker endpoint from a lambda function - https://aws.amazon.com/blogs/machine-learning/call-an-amazon-sagemaker-model-endpoint-using-amazon-api-gateway-and-aws-lambda/

profile pictureAWS
EXPERT
answered 2 years ago
0

Yes I have gone through the approach as mentioned by you above but the problem is I am not a Machine Learning Expert so it will take me sometime to write inference for Text-to-Image. If you have python code for that it would be great as I need to complete that on urgent basis.

profile picture
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions