title: Tensorflow error using my own data
body: <p>I've been playing with the Tensorflow library doing the tutorials. Now I wanted to play with my own data, but I fail horribly. This is perhaps a noob question but I can't figure it out.</p>
  
  <p>I'm using this example: <a href="https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/convolutional_network.py">https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3%20-%20Neural%20Networks/convolutional_network.py</a></p>
  
  <p>I want to use my own images, for converting my images to use with tensorflow i'm using this: <a href="https://github.com/HamedMP/ImageFlow/blob/master/ImageFlow.py">https://github.com/HamedMP/ImageFlow/blob/master/ImageFlow.py</a></p>
  
  <p>Now I change the parameters in the example from this:</p>
  
  <pre><code> n_input = 784
   n_classes = 10
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code> n_input = 9216
   n_classes = 2
  </code></pre>
  
  <p>I did that because my images are 96 * 96 and there are only 2 classes of my images</p>
  
  <p>I also change the weights and biases to the numbers I need.</p>
  
  <p>I read the data like this:</p>
  
  <pre><code>batch_xs = imgReader.read_images(pathname);
  </code></pre>
  
  <p>imgReader being the ImageFlow file</p>
  
  <p>but when I try to run it I gives me an error:</p>
  
  <pre><code> ValueError: Cannot feed value of shape (104, 96, 96, 1) for Tensor
   u'Placeholder:0', which has shape (Dimension(None), Dimension(9216))
  </code></pre>
  
  <p>I feel like i'm overlooking something small but I don't see it.</p>