Skip to content
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

Upgrade to tensorflow 2.16 and Keras 3.0 #170

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

kermitt2
Copy link
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
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
Owner Author

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

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