title: Keras: load images batch wise for large dataset
body: <p>Its is possible in keras to load only one batch in memory at a time as I have 40GB dataset of images.</p>
  
  <p>If dataset is small I can used ImageDataGenerator to generator batches but due large dataset I can't load all images in memory. </p>
  
  <p>Is there any method in keras to do something similar to following tensorflow code:</p>
  
  <pre><code>path_queue = tf.train.string_input_producer(input_paths, shuffle= False)
  paths, contents = reader.read(path_queue)
  inputs = decode(contents)
  input_batch = tf.train.batch([inputs], batch_size=2)
  </code></pre>
  
  <p>I am using this method to serialize inputs in tensorflow but I don't know how to achieve this task in Keras.</p>