cora and link prediction #3877
Replies: 2 comments 4 replies
-
This is hard to tell without knowing the structure of your CSV. This tutorial might be of interest to you. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I tried pasting in the CSV Movie Lens prep code at the top of the hetero_link_pred.py file, and encountered a UserWarning. UserWarning: Using a target size (torch.Size([80670, 1])) that is different to the input size (torch.Size([80670])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size. UserWarning: Using a target size (torch.Size([10083, 1])) that is different to the input size (torch.Size([10083])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size. Here is my reproducible code (warning - it nearly crashed my workstation) Packages
Prepare Input Movie Lens Data
Rest of the original hetero_link_pred.py code
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I found one of your github scripts for hetero link prediction:
https://github.com/pyg-team/pytorch_geometric/blob/master/examples/link_pred.py
I was wondering if you can
Aside: I thought to mimic the Cora table structure on my own, but cannot view the contents of the dataset variable from the tutorial link (above).
Beta Was this translation helpful? Give feedback.
All reactions