daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. model.save_weights('models/model_weights.h5')
  2. with open('models/model_architecture.json', 'w') as f:
  3.     f.write(model.to_json())
  4.    
  5. path/to/site-packages/keras/engine/topology.py:2379: UserWarning: Layer lstm_15 was
  6. passed non-serializable keyword arguments: {'initial_state': [<tf.Tensor 's0_7:0'
  7. shape=(?, 64) dtype=float32>, <tf.Tensor 'c0_7:0' shape=(?, 64) dtype=float32>]}.
  8. They will not be included in the serialized model (and thus will be missing at
  9. deserialization time).
  10. str(node.arguments) + '. They will not be included '
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top