title: What dtype to input image as according to get_input_details
body: <p>I am having trouble inputting an image into <a href="https://tfhub.dev/google/lite-model/aiy/vision/classifier/birds_V1/2" rel="nofollow noreferrer">this</a> model.</p>
  <p>Here is what get_input_details outputs</p>
  <pre><code>[{'name': 'module/hub_input/images_uint8', 'index': 170, 'shape': array([  1, 224, 224,   3], dtype=int32), 'shape_signature': array([  1, 224, 224,   3], dtype=int32), 'dtype': &lt;class 'numpy.uint8'&gt;, 'quantization': (0.0078125, 128), 'quantization_parameters': {'scales': array([0.0078125], dtype=float32), 'zero_points': array([128], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
  </code></pre>
  <p>According to the description on Tensorflow hub, it should be</p>
  <blockquote>
  <p>3-channel RGB color images of size 224 x 224, scaled to [0, 1].</p>
  </blockquote>
  <p>I have this script to accomplish this</p>
  <pre class="lang-py prettyprint-override"><code>def process_image(image_path):
      image = Image.open(image_path)
      new_image = image.resize((224,224))
      np_image = asarray(new_image)
  
      min = np_image.min()
      max = np_image.max()    
  
      # normalize to the range 0-1
      np_image = np_image.astype('float32')
      np_image -= min
      np_image /= (max - min)
  
      return [np_image]
  </code></pre>
  <p>Afterwards, I pass in the image and get this error</p>
  <blockquote>
  <p>ValueError: Cannot set tensor: Got value of type FLOAT32 but expected type UINT8 for input 170, name: module/hub_input/images_uint8</p>
  </blockquote>
  <p>Any ideas on where I am going wrong?</p>