title: Need To Compile Keras Model Before `model.evaluate()`
body: <p>I load a <code>Keras</code> model from <strong>.json</strong> and <strong>.hdf5</strong> files. When I call <code>model.evaluate()</code>, it returns an error:</p>
  
  <blockquote>
    <p>You must compile a model before training/testing. Use `model.compile(optimizer, loss)</p>
  </blockquote>
  
  <p>Why do I need to compile to run <code>evaluate()</code>? </p>
  
  <p>To add, the model can be passed <code>predict()</code> with no problem. </p>