Created
February 13, 2019 19:42
-
-
Save wronk/b02903e61f986ad3f7236eef1063b447 to your computer and use it in GitHub Desktop.
TF Serving blog post: sending payload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Send prediction request | |
r = requests.post(server_endpoint, data=payload) | |
print(json.loads(r.content)['predictions']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment