Skip to content

Instantly share code, notes, and snippets.

@masroorhasan
Created January 14, 2019 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masroorhasan/18db9ccc74428a57136969992763f5fb to your computer and use it in GitHub Desktop.
Save masroorhasan/18db9ccc74428a57136969992763f5fb to your computer and use it in GitHub Desktop.
curl -X POST localhost:5000/predict -d 'json={"data":{"tensor":{"shape":[1,37],"values":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,21.0,22.0,23.0,24.0,25.0,26.0,27.0,28.0,29.0,30.0,31.0,32.0,33.0,34.0,35.0,36.0,37.0]}}}'
{
"data": {
"names": [
"t:0",
"t:1"
],
"tensor": {
"shape": [
1,
2
],
"values": [
90218.47842350176,
90218.47842350176
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment