title: How to feed feed_dict in tensorflow my own image data
body: <p>
  I have the following code:</p>
  
  <pre class="lang-py prettyprint-override"><code>files = (glob.glob("*.jpg"))
  q = tf.train.string_input_producer(files)
  reader = tf.WholeFileReader()
  file_name, content = reader.read(q)
  image = tf.image.decode_jpeg(content, channels=3)
  image = tf.cast(image, tf.float32)
  resized_image = tf.image.resize_images(image, [110, 110])
  image_batch = tf.train.batch([resized_image], batch_size=5)
  </code></pre>
  
  <p>How do I use <code>image_batch</code> to train a model? And how can I feed images given by <code>image_batch</code> to a model, i.e. <code>feed_dict</code>?</p>