Own Dataset
Kunjal1999 opened this issue · 2 comments
Kunjal1999 commented
How do I run the entire code on my own dataset? I have 44k graphs in networkx format.
SwiftieH commented
Hi,
You can simply transform your data from networkx format to pyg format then you are ready to go.
Actually, pyg provides a function for this use simply by from torch_geometric.utils import from_networkx
.
You can also refer to https://pytorch-geometric.readthedocs.io/en/latest/_modules/torch_geometric/utils/convert.html#from_networkx for more details.
Frozenmad commented
I'm closing this issue since it is inactive for a long time. Please feel free to re-open it or propose new issues if you have further questions!