Replies: 1 comment 2 replies
-
Can you show me how you call |
Beta Was this translation helpful? Give feedback.
2 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.
-
I am facing issues with the GATConv when using edge_attributes.
I tried using single-dimension edge_attribute and multiple-dimension edge attributes.
Example graph structure
Data(edge_attr=[13848], edge_index=[2, 13848], x=[2295, 100], y=[1])
Data(edge_attr=[13848,1], edge_index=[2, 13848], x=[2295, 100], y=[1])
Data(edge_attr=[13848, 2], edge_index=[2, 13848], x=[2295, 100], y=[1])
The following is the error.
File "/home/ankith/graph_files/cvpr/casme2/pytorch_geometric/torch_geometric/nn/conv/edge_gat.py", line 289, in forward
edge_index, edge_attr = add_self_loops(
File "/home/ankith/anaconda3/envs/gconv-cuda/lib/python3.8/site-packages/torch_geometric/utils/loop.py", line 89, in add_self_loops
loop_weight = edge_weight.new_full((N, ), fill_value)
TypeError: new_full(): argument 'fill_value' (position 2) must be Number, not str
Any clue how to solve this issue?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions