title: Is it logical to loop on model.fit in Keras?
body: <p>Is it logical to do as below in Keras in order not to run out of memory?</p>
  
  <pre class="lang-python prettyprint-override"><code>for path in ['xaa', 'xab', 'xac', 'xad']:
      x_train, y_train = prepare_data(path)
      model.fit(x_train, y_train, batch_size=50, epochs=20, shuffle=True)
  
  model.save('model')
  </code></pre>