Guest User

Untitled

a guest
Dec 13th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  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 '
Add Comment
Please, Sign In to add comment