Upgrade to TensorFlow 2.17 and Keras 3.0#180
Merged
Conversation
Collaborator
|
@kermitt2 in the following weeks I'm going to work on integrating this branch in the grobid master, so that we can move up to more recent tensorflow's version. I hope I did not break anything with my last merge. 😅 Which python version are you using? |
Owner
Author
|
I am using Python 3.12.3, which is the minimal requirement for 2.17 (>=12.3). |
e55ccc6 to
63d9536
Compare
… allowing existing paths.
Signed-off-by: Luca Foppiano <luca@foppiano.org>
Signed-off-by: Luca Foppiano <luca@foppiano.org>
Signed-off-by: Luca Foppiano <luca@foppiano.org>
Fix Tensorflow 2.17 training
Tensorflow 2.17 updates
Collaborator
|
@kermitt2 I've merged the following changes:
|
# Conflicts: # delft/applications/datasetTagger.py # delft/applications/nerTagger.py # delft/sequenceLabelling/data_generator.py # delft/sequenceLabelling/preprocess.py # delft/sequenceLabelling/trainer.py # delft/sequenceLabelling/wrapper.py # delft/utilities/Embeddings.py # delft/utilities/misc.py
Signed-off-by: Luca Foppiano <luca@foppiano.org>
Signed-off-by: Luca Foppiano <luca@foppiano.org>
This was referenced Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To do, update current models which are not compatible with TF 2.17.
In the future, support Keras 3.0, in particular the custom CRF layer.