title: reshaping image feed to tensorflow
body: <p>i am using tensorflow in image classification problem but i am feeling lost in the part related to reshaping input which in this case an image </p>
  
  <p>i use misc to take image and resize it </p>
  
  <pre><code>image = misc.imread("actor.jpg")
  resize_image = misc.imresize(image,[224, 224], interp='nearest') 
  </code></pre>
  
  <p>and image shape is </p>
  
  <blockquote>
    <p>(224, 224, 3)</p>
  </blockquote>
  
  <p>i get an error related to image incompatible </p>
  
  <pre><code>ValueError: Cannot feed value of shape (224, 224, 3) for Tensor u'input_image_2:0', which has shape '(?, 224, 224, 3)'
  </code></pre>
  
  <p>what is meant by <strong>?</strong> and how to do resizing correctly </p>
  
  <p>thanks in-advance </p>