-
Notifications
You must be signed in to change notification settings - Fork 19.4k
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
Keras does not save weights properly #19693
Labels
Comments
Could you please try with the Keras 3 version and let us know your observations and possibly some reproducible code. Thanks |
I installed Tensorflow 2.16.1, but the it cannot detect the GPUs. |
The problem is also with Tensorflow 2.16. Please, run the code here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Tensorflow 2.15.1 and, if I use model.save_weights("./dir/mymodel.bin") and subsequently try to load the weights with model.load_weights (in a different process), the model does not return the expected results (when using model.evaluate or .predict). My model has a custom loss function and metric, but this should not be a problem, since I try to load weights only. Any idea why I get this error?
The text was updated successfully, but these errors were encountered: