I am trying to load a SNAP dataset (ego-facebook for now) into a torch_geometric.data.Data object. I am having issues.
- Is there any standard library/method to load SNAP dataset into a
torch_geometric.data.Dataobject? - I tried using
torch_geometric.datasets.SNAPDataset. It gives me a storage of 10 Data. How can I merge theDatainto one object so that I could generate oneNetworkxobject? - I tried making the Data by adding each edge. Later, I wanted to use
torch_geometric.transforms.RandomNodeSplitto generate the masks. But it did not add any mask. I figuredRandomNodeSplitgoes overdata.node_stores. In this case, I didn't have anynode_storesin myDataobject. What is the correct way to make a Data object and add nodes/edges to it so that it is consistent withtorch_geometricstyle?