[TensorFlow] Upgrade to keras v3 #1461
Labels
framework: tensorflow
Related to TensorFlow backend
module: models
Related to doctr.models
type: breaking change
Introducing a breaking change
Milestone
🚀 The feature
TensorFlow >= 2.16.0 switches to Keras v3 (keras-core) which will especially break the saving and loading logic from models in our case
Keras: https://keras.io/api/models/model_saving_apis/weights_saving_and_loading/#save_weights-method
tf2onnx: https://github.com/onnx/tensorflow-onnx?tab=readme-ov-file#from_keras-tf-20-and-newer
hf hub: https://huggingface.co/docs/huggingface_hub/guides/upload
(Optional) Provide a script to convert old models to new format
The text was updated successfully, but these errors were encountered: