You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the GraphEncoder.add_emb_node_and_feature,
edge_features[:, 0, :, edge_dim] = 1
edge_features[:, :, 0, edge_dim] = 1
I believe these two lines are trying to give the embedding edge a new type right? Why we don't have a similar code for embedding node type like:
node_features[:,0,node_dim] = 1
Thanks,
Yurui
The text was updated successfully, but these errors were encountered:
Hi,
good catch. looking in my git history, I might removed this one-hot encoding of the empty node unintentionally. It might be irrelevant for the performance though (no difference for the network if we encode embedding nodes by a zero vector or a one-hot vector). I will check that. Closing for now
Hi,
In the GraphEncoder.add_emb_node_and_feature,
edge_features[:, 0, :, edge_dim] = 1
edge_features[:, :, 0, edge_dim] = 1
I believe these two lines are trying to give the embedding edge a new type right? Why we don't have a similar code for embedding node type like:
node_features[:,0,node_dim] = 1
Thanks,
Yurui
The text was updated successfully, but these errors were encountered: