-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Data #2
Comments
Hi, Please add a branch in
And use We will also try to provide a more convenient method next week. Sincerely, |
Can the model work with a graph where the nodes don't have any features? The code references data.x at a bunch of places, but what if my nodes don't have any features? Thank you! |
Hi, Yes, our model can work with a graph where the nodes don't have any features. In fact, ogbl-ddi, one of our benckmark, also have no node feature. If the data have no node feature, data.x is None. Sincerely, |
I greatly appreciate your swift responses. |
Could you please provide more details on on why you cannot? Or please give me a demo data. It will help us to design a better way to incorporate a new dataset. |
Here is a sample from the dataset I am using. I use the following to run your code: The error: To the original code I added the following in loaddataset() in ogbdataset.py
|
Hello. Thank you for your demo data. We have updated a new branch |
Hi! Again thank you for your help. It is immensely valuable. |
Please pull our update in the refactor branch.
Yes, but it takes To save the trained model, use
Currently, binary link prediction is available. To predict edge weight, you must change the loss to square loss (y changed to edge weight, and negative links are considered as edge weight 0) or NLLLoss (discretize edge weight to multiple classes). |
Hello,
I wanted to run NCNC on my own dataset. Can you guide me as to how to do so?
Thank you!
The text was updated successfully, but these errors were encountered: