Closed nfmcclure closed 6 years ago
Sorry for all the comments. Still getting the above error. Reinstalling seemed to work, then fail after rebooting. (With the same error as above)
Hi thank you I'm glad you appreciate it!
See #8749, basically, keras can't save custom layers it's not wtte-specific. Saving weights is fine, just do model.save_weights(path)
and run the same script you used to create the model before model.load_weights(path)
.
I'm sure there's other pickling-options but I haven't tried good luck!
Thanks for the response.
I see how to do it now. I didn't see that Keras issue, thanks for pointing it out. I'll close this issue.
Hello,
Thank you for your wonderful work on this model! Very interesting. I'm working to save and then load the model for future evaluations.
Considering Keras' guide on saving/loading here:
https://keras.io/getting-started/faq/#how-can-i-save-a-keras-model
I've tried this code:
But I get the following error:
Which I find strange because the function
_keras_unstack_hack
clearly exists in the wtte.py.I'm running Ubuntu 16.04.3 and Python 3.6, with Keras v 2.1.3.