Closed YifengChen94 closed 3 years ago
The OpenCV python image object would not be submitted as json data.
You can refer to our image client which will read the image file and parse to json string for inference. Please refer to https://github.com/tobegit3hub/simple_tensorflow_serving/blob/master/clients/python_client/image_client.py .
I have successfully deployed my model but I got some problems when trying to post http request. The shape of my model input tensor is (-1,-1-1,3). The Graph Signature information is listed below
The following code is used to post request
I know this is a problem with my data format, but how could I solve it? Thx a lot.