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

Use IndexError instead of ValueError in deserialize_node #20389

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

james77777778
Copy link
Contributor

Fixes #20307

Credit for the fix goes to @K1521. The corresponding test has been included.

Copy link
Collaborator

@fchollet fchollet left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels Oct 22, 2024
@fchollet fchollet merged commit 1cc1eb5 into keras-team:master Oct 22, 2024
7 checks passed
@google-ml-butler google-ml-butler bot removed awaiting review ready to pull Ready to be merged into the codebase kokoro:force-run labels Oct 22, 2024
@james77777778 james77777778 deleted the fix-reused-layer branch October 23, 2024 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

ValueError when loading models that has reused weights
3 participants