Skip to content
Discussion options

You must be logged in to vote

This is the result of our efforts to bring lazy initialization of model parameters to PyG. A simple fix is to replace all root occurrences with lin.weight and transpose the tensor, e.g.:

state_dict["encoder.down_path.0.lin.weight"] = state_dict["encoder.down_path.0.root"].t()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rusty1s
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hkim716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants