title: Getting Error of Input Count Mismatch while getting predictions from pretrained object detection model in Tensorflow-js
body: <p>I am trying to use tensorflow.js to predict output from pre-trained object detection model, but I am getting error in <code>model.predict(inputImage)</code> which is </p>
  
  <blockquote>
    <p>Uncaught (in promise) Error: Input tensor count mismatch,the graph model has 425 placeholders, while there are 1 input tensors.</p>
  </blockquote>
  
  <p>I am using<br>
  - tensorflowjs version - 1.0.1<br>
  - tensorflow - 2.0.0-dev20190404  </p>
  
  <p>Html "<a href="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.4" rel="nofollow noreferrer">https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.0.4</a>"</p>
  
  <p>I am using SSD_Mobilenet_V2 model and downloaded it from '<a href="http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v2_coco_2018_03_29.tar.gz" rel="nofollow noreferrer">http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v2_coco_2018_03_29.tar.gz</a>'</p>
  
  <p>I used this command to convert tf model into web format</p>
  
  <pre><code>tensorflowjs_converter --input_format tf_saved_model ./saved_model ./tfjs_saved_modelSSDMobilenetV2
  </code></pre>
  
  <p>Getting error in this line of javascript code:</p>
  
  <pre><code>const boxes = await model.predict(processedImage);
  </code></pre>
  
  <p>The processedImage is tf.tensor3d of shape (300,300,3).</p>