lululxvi / deepxde

A library for scientific machine learning and physics-informed learning
https://deepxde.readthedocs.io
GNU Lesser General Public License v2.1
2.47k stars 712 forks source link

[Fix] Update model saving for TF backend #1782

Closed agniv-the-marker closed 1 week ago

agniv-the-marker commented 1 week ago

TF save_weights

Currently the saving for backend saves to the wrong filetype, according to the docs it must end with a .weights.h5 suffix, currently ends in .ckpt suffix which breaks if you are using the TF backend.