-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve support for Keras H5 models #280
Comments
Here is some code that a basic BERT model, where all we did is save the weights
and here is the basic output (cut off)
|
And here is the code to read the BERT model and load the weights into BERT
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have basic support for Keras H5, but it can only handle very basic simple models
It can not support many older formats , so it needs to
In particular, we can not save subclassed models using
model.save('model.h5')
and so I assume we can't read them as wellInstead, we would need to read the weights only, so we need an keras_h5 weights iterator
The text was updated successfully, but these errors were encountered: