the filepath provided must end in `.weights.h5`
schienstockd opened this issue · 2 comments
schienstockd commented
Hello,
I'm using tensorflow 2.16.1
and get the following when trying to train a model with model.train
ValueError: When using `save_weights_only=True` in `ModelCheckpoint`, the filepath provided must end in `.weights.h5` (Keras weights format). Received: filepath=*/model_name/weights_best.h5
I had no issue with this before. Is this a new checkpoint in keras?
Thanks!
jdeschamps commented
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.
jdeschamps commented
I have updated the installation instructions.