Skip to content

Upgrade to tensorflow 2.16 and Keras 3.0#170

Closed
kermitt2 wants to merge 10 commits into
masterfrom
tensorflow-2.16
Closed

Upgrade to tensorflow 2.16 and Keras 3.0#170
kermitt2 wants to merge 10 commits into
masterfrom
tensorflow-2.16

Conversation

@kermitt2

Copy link
Copy Markdown
Owner
  • Upgrade to TF 2.16
  • Ensure it works with new Keras 3.0 in legacy mode 2.0

To do, update current models which are not compatible with TF 2.16.

In the future, support Keras 3.0, in particular the custom CRF layer.

@kermitt2 kermitt2 marked this pull request as draft October 23, 2024 09:43
@kermitt2 kermitt2 changed the title Upgrade to tensorflow 2.16 Upgrade to tensorflow 2.16 and Keras 3.0 Oct 26, 2024
@lfoppiano

Copy link
Copy Markdown
Collaborator

If we keep the keras in legacy mode, do we still need to retrain the models? or it's just if we switch to keras 3.0? 🤔

@kermitt2

Copy link
Copy Markdown
Owner Author

From my tests, we need to retrain with legacy mode yes unfortunately. Still less work than to migrate to Keras 3.0 :)

@kermitt2

Copy link
Copy Markdown
Owner Author

Replaced by #180

@kermitt2 kermitt2 closed this Feb 28, 2025
@lfoppiano lfoppiano deleted the tensorflow-2.16 branch March 5, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants