-
Notifications
You must be signed in to change notification settings - Fork 234
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
Resolve Keras File Format Issues #1369
Comments
@rundxdi I briefly investigated the issue and it will require updating the KerasSurrogate "save_to_folder" and "load_from_folder" methods with serialization to a ".keras" format instead, and related front-end changes in tests that use the methods. Please work on this when you can, as it is a breaking issue in IDAES at the moment. Thank you. |
Thanks for identifying the needed updates. I'll take a look tomorrow and work on updates this week. |
@rundxdi any estimate on this? |
@rundxdi any news on this? Maybe join the next dev call to update us? |
@ksbeattie I should finally have an update at or before the next dev call, sorry for the delay! |
@ksbeattie I've opened PR #1401 to address this. It should fix keras_surrogate.py and test_keras_surrogate.py. However, I'm having trouble getting test_keras_plotting.py to work with the changes and its existing model. Working on that currently. |
TensorFlow updated to version 2.16.1 on March 8, 2024. Python 3.9+ tests that install the latest package now throw errors similar to the message below:
Tests and code that use Keras should be updated accordingly.
The text was updated successfully, but these errors were encountered: