title: How to send a batch of images to Tensorflow server?
body: <p>I've deployed an object detection model on Tensorflow Serving (SSD architecture) and I can request the model with something like:</p>
  <pre><code>data = {&quot;signature_name&quot;: &quot;serving_default&quot;, &quot;instances&quot;: [{&quot;input_tensor&quot;: {&quot;b64&quot;: b64}}]}
  url = '%s/v1/models/mymodel:predict' % MODEL_BASE_URL
  response = requests.post(url, headers=headers,data=json.dumps(data))
  preds = response.json()['predictions']
  </code></pre>
  <p>where b64 is a base64 encoding of my image. My result has a length of one and contains all the scores, detection_boxes, etc.</p>
  <p>I want now to submit a batch of images. My call is the same except for data that is now something like:</p>
  <pre><code>data = {&quot;signature_name&quot;: &quot;serving_default&quot;, &quot;instances&quot;: [{&quot;input_tensor&quot;: {&quot;b64&quot;: b64A}},{&quot;input_tensor&quot;: {&quot;b64&quot;: b64B}},...]}
  </code></pre>
  <p>where b64A is the encoding of imageA, b64B of image B, etc. I was expecting a result with a length equal to the size of my batch but it's still of size 1. Where is my error?</p>