Skip to content

Conversation

mattdangerw
Copy link
Member

@mattdangerw mattdangerw commented Dec 7, 2023

This we would also catch if we were running our large testing on 2.13 or 2.14. Tensorflow will turn all dictionary attributes on a layer into "trackable dicts." Python does not know how to save these, so we need to cast our byte pair vocabulary to a dict before writing the json.

This we would also catch if we were running our large testing on 2.13
or 2.14. Tensorflow will turn all dictionary attributes on a layer into
"trackable dicts" python does not know how to save these, so we need to
cast our byte pair vocabulary to a dict before writing the json.
@mattdangerw mattdangerw requested a review from nkovela1 December 7, 2023 20:28
Copy link
Collaborator

@nkovela1 nkovela1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mattdangerw mattdangerw merged commit ef6f9c4 into keras-team:kaggle Dec 7, 2023
mattdangerw added a commit that referenced this pull request Dec 8, 2023
This we would also catch if we were running our large testing on 2.13
or 2.14. Tensorflow will turn all dictionary attributes on a layer into
"trackable dicts" python does not know how to save these, so we need to
cast our byte pair vocabulary to a dict before writing the json.
sampathweb pushed a commit that referenced this pull request Dec 12, 2023
This we would also catch if we were running our large testing on 2.13
or 2.14. Tensorflow will turn all dictionary attributes on a layer into
"trackable dicts" python does not know how to save these, so we need to
cast our byte pair vocabulary to a dict before writing the json.
mattdangerw added a commit to mattdangerw/keras-hub that referenced this pull request Dec 26, 2023
This we would also catch if we were running our large testing on 2.13
or 2.14. Tensorflow will turn all dictionary attributes on a layer into
"trackable dicts" python does not know how to save these, so we need to
cast our byte pair vocabulary to a dict before writing the json.
mattdangerw added a commit that referenced this pull request Jan 4, 2024
This we would also catch if we were running our large testing on 2.13
or 2.14. Tensorflow will turn all dictionary attributes on a layer into
"trackable dicts" python does not know how to save these, so we need to
cast our byte pair vocabulary to a dict before writing the json.
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