Closed jiaruHithub closed 4 years ago
You need to add node features to your input graphs, e.g., via transforms.OneHotDegree
.
transforms.OneHotDegree
I'm sorry,which line should I add this code?
Oh, that should be automatically done, see here. Can you confirm that node features exist?
Oh, that should be automatically done, see here. Can you confirm that node features exist?
I think it exist.this dataset is widely used in graph pooling.and I use TUDdataset to donwload it.it is so wired!( 0 x 0 ) I use this in my own code(not report this bug ),it accuracy never change,So I want to use benchmak to test then it report this bug.
Can you change this line to TUDataset(path, name, use_node_attr=True)
?
Can you change this line to
TUDataset(path, name, use_node_attr=True)
?
It's working! Could you simply state why? Thank you!
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
my code in
main.py
isExpected behavior
Environment
Additional context
Why it reported this bug?and how can I fix this issue? Thank you!