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
preguntada hace 2 años1595 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace 2 años
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas