Weights and biases initialization #2647
Unanswered
adhikarirsr
asked this question in
Q&A
Replies: 1 comment
-
I don't think there is a rule of thumb for this. Most GNN layers make use of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are GNN layers' weights and biases initialized by default? If I want to initialize my model using Xavier initialization and how would I do so. In general, how sensitive is model's performance to initialization? Is there a rule of thumb for choosing an initialization scheme?
I can initialize as follows:
This does not work with
Xavier
initialization.init_all(modelgcn2, torch.nn.init.xavier_normal_)
Error:
ValueError: Fan in and fan out can not be computed for tensor with fewer than 2 dimensions
Beta Was this translation helpful? Give feedback.
All reactions