-
Notifications
You must be signed in to change notification settings - Fork 114
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
the filepath provided must end in .weights.h5
#150
Comments
save_weights_only=True
in ModelCheckpoint
, the filepath provided must end in .weights.h5
(Keras weights format).weights.h5
Hi, Sorry for the delay! Yes it seems to be a problem of the newer TF... Can you downgrade to an earlier version? We tested it last with TF2.13 and TF2.10. On CPU just now, it seems it works with TF2.15. |
I have updated the installation instructions. |
Hi, I'm using TF2.10 and still getting this error....is there a fix? |
That's surprising, I don't really remember but if I trust my past-self, this specific error should not appear with TF 2.10. Could you paste the exact error you are getting? Please note that we do not intend to continue maintaining That being said, I will try to issue a fix for this current issue, as it is simple enough to patch. |
Thanks for the quick response. FYI, I followed the instructions posted here to install everything but it's possible I did something wrong. This is the error I'm getting: Earlier on I see this, if this is helpful: 2024-12-05 10:32:36.595188: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. I'm actually trying to just verify the TensorFlow version and having issues doing that. I'm new to it. Thanks. |
To be fair to you, the instructions are a bit of a mess! Can you type in your console: conda list | grep tensor That should print the tensorflow version in your conda environment! |
I'm on windows, but when I type this "conda list | findstr tensor" it returns nothing.... [looking into CAREamics now, might be quicker to get that working than solve this issue] |
Ah sorry! We usually advise people to use the "Git for windows" terminal under Windows, because then they can use Unix commands. Then maybe just
Great, don't hesitate to open an issue there then! |
Hello,
I'm using
tensorflow 2.16.1
and get the following when trying to train a model withmodel.train
I had no issue with this before. Is this a new checkpoint in keras?
Thanks!
The text was updated successfully, but these errors were encountered: