-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Model weights cannot be saved #68467
Comments
@SuryanarayanaY , in my code at link above I use ".weights.h5", and this has no impact on the problem. @testhowtest, is there a provisional workaround? Without saving, there is not much use in using TF |
@gcelano, |
An issue has been opened here keras-team/keras#19693 |
@gcelano, |
Closed because the issue is here: keras-team/keras#19693 |
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.1 and inferior
Custom code
Yes
OS platform and distribution
Debian 12 Bookworm
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
After
model.save_weights
is used, if a new process is started andmodel.load_weights
is used, the results produced by the model are poor (very different from the ones at training time). The code can be found at https://git.informatik.uni-leipzig.de/celano/dithrax_test (with instructions).(Since it is not clear if it is a keras or tensorflow problem, an issue has also been opened at keras-team/keras#19693 (comment))
Standalone code to reproduce the issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: