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

BUG in load_weights_from_hdf5_group_by_name #20536

Closed
edwardyehuang opened this issue Nov 22, 2024 · 1 comment · Fixed by #20537
Closed

BUG in load_weights_from_hdf5_group_by_name #20536

edwardyehuang opened this issue Nov 22, 2024 · 1 comment · Fixed by #20537
Assignees
Labels

Comments

@edwardyehuang
Copy link
Contributor

edwardyehuang commented Nov 22, 2024

if "top_level_model_weights" in f:
symbolic_weights = model.trainable_weights + model.non_trainable_weights
weight_values = load_subset_weights_from_hdf5_group(
f["top_level_model_weights"]
)

model.trainable_weights + model.non_trainable_weights references all weights instead of top-level

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants