Closed 2danlin closed 3 years ago
The models as used in simple_example_pytorch.ipynb use a SparseGraph. This class is just a simple Python class wrapping NumPy matrices or sparse SciPy CSR matrices. The class description explains how to use this with your own data.
Alternatively, you can use the networkx_to_sparsegraph function to convert a NetworkX graph to a SparseGraph.
Besides, could you please tell me how to use this project for my own data? Specifically, what is the format of the data provided by you? Thank you so much.