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
I am using this example to have my own sagemaker model: https://github.com/aws/amazon-sagemaker-examples/tree/main/advanced_functionality/scikit_bring_your_own
It is using the proxy server nginx. It is working fine when I build and test locally using the docker image with entrypoint serve file script.
But, in the seconde test case, I deployed the sagemaker model, and I tried to call the invocation method using the SDK library for JAVA and trying to call with query parameters and even with a custom header, I cannot read them as I have to use them as parameters.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello team,
I am using this example to have my own sagemaker model:
https://github.com/aws/amazon-sagemaker-examples/tree/main/advanced_functionality/scikit_bring_your_own
It is using the proxy server nginx. It is working fine when I build and test locally using the docker image with entrypoint serve file script.
But, in the seconde test case, I deployed the sagemaker model, and I tried to call the invocation method using the SDK library for JAVA and trying to call with query parameters and even with a custom header, I cannot read them as I have to use them as parameters.
I tried to play with nginx config in this file but no success:
https://github.com/aws/amazon-sagemaker-examples/blob/main/advanced_functionality/scikit_bring_your_own/container/decision_trees/nginx.conf
Do you have any idea how to pass the query parameters and read them in the perdictor.py file through invocations post request?
Thanks in adance.
Beta Was this translation helpful? Give feedback.
All reactions