title: load model error with keras 'str' object has no attribute 'decode
body: <p>I'm doing the deep learing exercise of Andrew Ng,when I try to load the model, it gives the following error:</p>
  <pre><code>yolo_model = load_model(&quot;model_data/yolo.h5&quot;)
  
  --&gt; 269         model_config = json.loads(model_config.decode('utf-8'))
  270         model = model_from_config(model_config, custom_objects=custom_objects)
  271 
  AttributeError: 'str' object has no attribute 'decode
  </code></pre>
  <p>I put the encode() before the decoede() still can not fix the problem.</p>